The online game's ROM and cartridge hardware including the Wi-Fi radio would have to be made together.
As the Wi-Fi hardware inside the cartridge would be custom, the ROM would have to contain instructions that would not be emulatable by a flash cart (or any other means.)
Edit- Missed "online play?" in your comment. Yes, that's the idea, new homebrew games with actual working online, made for systems released 25-30 years ago.
Thanks for your reply. The SNES was a seminal game system for me and it holds a special place in my heart. I love this idea! Let me know if I can help you make it happen via encouragement, pre-purchasing, beta testing or some combination thereof!
Maybe render a game on super hardware on a server, like Stadia, and beam it to your cartridge, format the frame buffer in a way that can be passed to the host console, and output to the CRT.
You could do definitely do that and it'd turn a lot of heads for sure, but the example I had in mind was more of a traditional client/server architecture. Like a (new, homebrew) RPG that allows up to 4 players tackling a dungeon together.
Ha, never got the chance to play that one. I've been working on this project since the start of the pandemic almost. It's got a lot going on inside of it but we just don't have any great marketing material (video) of it at the moment. I feel the key feature is that you can see and interact with other players in real time and conquer dungeons cooperatively. Lots of people seem to run randomized seeds and divide and conquer since items and progress are synchronized.