It is 100% legal if you obtain your ROMs legally (i.e. own the game and somehow dump it).
(the switch is lighter, but the deck is much more comfortable for my hands)
https://www.amazon.com/Nintendo-Switch-Split-Ergonomic-Contr...
Prosecutions are basically unheard of, but it’s not legal nonetheless.