It shouldn't. SMAPI messing with game files is rare and nothing to worry about, but backup your Stardew Valley for extra peace of mind if you’re concerned. If anything were going to accidentally mess up your Stardew Valley, it would be the mods themselves, not SMAPI.