There’s already a compatibility layer. Microsoft had one before Rosetta 2 was available. You can test it yourself with many windows on arm dev builds that exists, or with a Mac running windows in a VM.
Verdict; not as good as Apple (not sure how it compares with the one from Linux) but good enough. https://beebomal.pages.dev/posts/apple-s-rosetta-2-vs-windows-x86-emulation-explained/