It’s 100% possible to put pirated games on the Switch - in fact, it’s as easy as it could reasonably be.
I wish it was that easy! So far, the only way I know of is a hardmod, which already DQs for any remotely sensible form of DIY, and means a very real possibility of turning the Switch into a fancy paperweight.