If you look hard enough you can find legal ROMs - most of these ROMs were never obtained from carts but written solely for use with emulators. For example browse these
public domain/freeware ROMs.
There, now you can justify any emulator conversation on this board.