Ive seen it done. As for the copyright issue, its completely legal last time i checked to convert a file. If he owns the game, then owning the rom is perfectly legal, and if not it has to be deleted within 24 hours. Simple. I believe it can be done in c++, using the ROM file and compiling it into an exe.