An emulator cannot do that unless it's bundled with the emulator somehow. What you're aiming for would be something like websites that host ROMs. Even a ROM on its own isn't necessarily illegal if you dump your own copy that you bought yourself (more of a grey area), it's the distribution that's illegal.Because these apps trivialise copyright infringement and intellectual property theft.