There's nothing in the MAME license that prevents you from selling a cabinet with MAME pre-installed. However if you want to distribute any ROMs, game artwork (including screenshots, cabinet art, flyers, etc.) you need a license from the current copyright holder(s) of that media. What you cannot do ...