That was also the raison d'être of the Unified Windows Platform apps: to stop depending on Win32 APIs, which are tied to the system architecture. Not a bad goal IMO.
I wish we'd see more architecture-neutral binaries, based on LLVM or webassembly.
Of course, Plan 9/Inferno had it before others: https://en.wikipedia.org/wiki/Limbo_(programming_language)#V...
(By virtue of being designed as a distributed OS, targeting machines with various architectures).