Emulators of any kind don’t provide a legal way of playing games. If you want to play GBA games legally, then you have to buy a console from the manufacture or another store. As long as the product is original, there’s no copyright infringement, so you can play anything you want.