I have a switch gen 1 and have been playing online for a long time, i genned sword/shield, arceus and scarlet/violet. As long you use legal copies of the game, you are 99% safe, but remember that even 1% its a peobability, and at most the switch get banned, not the account