Thw word "working" here is just a filler term. Many games work..however many games only work if use the clone or bootleg.
That being said...
You could try
romlister to make a list for attract mode with the games you want
Here is a tutorial on how to use it.
Only other way to do it is go game by game. Street Fighter EX does work in mame..however it does not work on my old cabinet machine. So you have hardware limitations as well.