I am pretty sure that is not possible unless they did something like what they did with the N64 plugins for the mupen64plus. They way I have my arcade systems setup in ES is by splitting them into groups.

I have the “NeoGeo” Arcade system in ES, that of course has all of the Neo Geo arcade games. I also did a custom “Capcom” arcade system in ES, with a custom Capcom graphic that also uses PiFBA, but only has all of the capcom pifba games in it. Then I run two different mames and have two different ES entries for those as well.

This works great for me, as it splits the arcade games into basically capcom games, neogeo games, and then everything else.. Might want to try something like that