Some homebrew like usbloader gx can accept command line parameters. One of them is a game it should boot directly. I am unaware if mame is having such a feature. Otherwise, you just need a forwarder application that also forwards command line parameters, and you need to add the game in question in the meta.xml file.