I have another question then. If you set up a dedicated MAME cab, using StarROMs ROMs, can you charge money?
ROM liceneses are NOT transferrable. I cannot download a ROM and resell it to someone. That is illegal.
What I can do is download the ROMs on behalf of someone else. And I cannot charge extra for the ROMs.
What we (and other cabinet builders) do is charge for the parts and labour of building the actual cabinet. The software side of things is probably the easiest part of an emulation-based cabinet, and anyone claiming they need to charge hours of labour time is having a go at you. Downloading 27 legal ROMs off the net to save to a folder hardly warrants labour charges, in my humble opinion.
In order to supply StarROMs ROMs running off MAME, you need permission from both StarROMs Inc and MAMEDev. The process is quite simple. Just email them stating your business intentions, and then agree to their terms and conditions when they approve.
For instance: when bundling MAME with cabinets and StarROMs ROM files, you MUST recompile MAME to only support the games that are sold with the cabinet. Not difficult at all, as it's just a matter of changing the driver file and setting the compile off. If you don't like the conditions, then tough luck. And fair enough really, considering you're using it at no cost.
So to answer your question: Yes, you can sell cabinets with StarROMs ROMs and MAME bundled, and make money from the cabinet itself. Provided you obtain permission for using the software first, and play by the rules.
The full license restrictions are available at the respective license owner's websites. They are the first place to check if you believe anyone is breaching license agreements.