You can perform a factory reset on a Nintendo Switch console as many times as you need to. There are no set limits on the number of factory resets you can execute. However, keep in mind that each factory reset will erase all data on the console, including downloaded games, save data, and any user settings, so make sure to back up any important data before proceeding with a reset.