Keep in mind that "can run" and "runs well" are different things. The most common version of MAME on the Pi2, I believe, was .037... The Pi3 is way more powerful, but I'm not sure if there is a binary available for a more advanced version of MAME yet. Probably, but I've not looked.