I'd wondered why the patches could contain unmodified game code, thanks for the explanation. I know a decent chunk of the ROM hacking community has moved to UPS patches but it seems that was done for efficiency and overcoming size limitations. According to this guy, xdelta does what you describe.
https://www.reddit.com/r/Roms/comments/wj29mf/comment/ijhrak...