You can have it so the user supplies the rom, and you have scripts that rip the assets and such - convert them, build them, disassemble pieces, etc. That's been a pattern for almost a decade now (AI makes this faster.. have it do all the grunt work). That way you're not providing any original game assets.