@Gobon-Shiteinga You can get both running using lr-mess, although the process can be a bit tricky at times.
Electron runs fine on my end using lr-mess, the BBC machines not so much.
This might be a good place for you to start.
You will also need to get familiar with RetroPie's documentation on MESS.