Check this out: https://hackaday.com/2026/07/20/old-ssds-find-new-life-as-game-cartridges/
Just saw it on Hack a Day and remembered this post. It’s using old SSDs instead of SD cards but is basically what you’re describing.
And they’re using auto launch scripts like I mentioned in my first comment and a whitelist to address security.
So Kazeta as others mention is about putting games onto SD cards.
Another project is https://zaparoo.org/ - this one doesn’t store the data on the card, but instead uses NFC so people can have “fake” cartridges that trigger the load of a game on the Linux system. This allows people to make something that looks great but is simply a stylish trigger to load the media (games, sites, movies, doesn’t matter what).
Never looked much into it, but I remember reading about kazeta somewhere on the fediverse and should work like that
You might want to check out Kazeta, it’s a project with similar goals



