There is even a way to inject genesis roms into 3D Sonic the Hedgehog 2 giving you multiplayer. I've already tested it on Contra Hard Corps with two hacked 3dses and it works great. Would've been nice if it was added to one of the injectors since right now they only support retroarch which has no multiplayer support, albeit much higher game compatibility.
I also tried the NES once. Chip n Dale worked fine but a multiplayer hack for Ducktales wouldn't even start. Running on 2 hacked 3dses of course.
Edit:
Here's the best explanation on how to do it I found around:
https://gbatemp.net/threads/is-there-a-genesis-md-vc-injection-method.402317/
There used to be a more thorough explanation on 3dsiso but that is sadly gone now. Couldn't find it on webarchive since you have to login and that doesn't work ofc. Maybe someone who saved it could share it so it's not lost.