Modified guest kernels are a thing: see WSL2. Emulation of kernel calls without a real kernel is also a thing: see Wine, Darling.