perhaps launching the game from the API, like this:

Launch a game:
curl -X POST -d "game name.sfc" http://recalbox.local:1337/systems/snes/launcher

Launch a game