As others have pointed out macOS allowed migration including existing binaries. They have done 3 of these migrations. 68k to PowerPC, PowerPC to x86, and x86 to ARM. Each time, users were allowed to bring along existing binaries and keep using them and each time the binaries from the previous system generally ran as fast or faster on the new system. As far as I am aware, Linux has never done anything like this.