MacOS, like Windows and unlike Linux, doesn't have a stable syscall interface. apps are instead required to dynamically link with libraries shipped with your system, which change in lockstep with the syscalls.
This would make it possible to run the MacOS userspace on top of actual Linux, with little to no work in the kernel.
I think that would be a more interesting effort to pursue.
yeah i guess you're right about the libraries
i think it goes a bit further than that though
a lot of macos stuff runs in daemons that kind of depend on each other
i ran into this turning features off on macos 27
the spotlight window there actually runs as a process called Siri
so if you turn siri off, spotlight changes too
i'd guess there's a lot more of that once you start pulling pieces out
Like most operating systems, Linux is the exception here.
That's the Darling project.