This is the idea behind Zaparoo (https://zaparoo.org/) which uses NFC tags that can be put in to your preferred form (card, cartridge, token, etc.) and used to select and launch games. It was originally built for use with the MiSTer FPGA hardware emulation platform but has since expanded to support a variety of software emulation platforms and apparently even actual C64s via a flash cart.