Er that's exactly how macOS works already. The App Sandbox stuff bounces through the kernel if something asks for access and you can say "no thanks". It's basically a proper Mandatory Access Control framework.
And the apps themselves are shipped in isolated bundles containing all their resources, which may include other binaries/libraries etc.