Many Mario games shown in my videos are officially playable on Nintendo Switch via Nintendo Switch Online.
Nintendo Switch Online is a membership that gives you access to classic NES, SNES, N64 and Game Boy games.
You can buy it on Amazon (links below) for your Nintendo Switch or Switch 2.
Disclosure: Some of these links are affiliate links. This does not affect the price for you.