Nintendo has a severe allergy to emulators that they don't endorse.
I'm pretty sure they have their own emulators of sorts given the older games from older consoles like the Game Boy being playable on the Switch, for example.
So in other words, they don't want people cutting in on their profits.