Should be possible, why not ?
Use the GPIO inputs for simulating keyboard keys input and map them to the emulator's controls. For this bit you may need some additional configuration or scripts to interpret the GPIO pins state, but other than that there's just configuring the emulators' input for the actions you need.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.