You could also play a bit with writing SELinux or AppArmor policies, although I grant that most people don't give a fuck and just want to get their computing done.
Opting for a Wayland-compliant display server instead of XOrg will also provide you with similar benefits such as preventing applications from capturing your key-presses without you knowing or recording your screen without your permission.
edit: I have no idea how I forgot about this, but immutable file systems are a thing now and they work pretty well, you can go for something such as Fedora Kinoite [0], Fedora Silverblue [1][2], OpenSUSE MicroOS [3], or VanillaOS [4] where all applications you install will be Flatpaks.
[0]: https://docs.fedoraproject.org/en-US/emerging/
[1]: https://docs.fedoraproject.org/en-US/fedora-silverblue/
[2]: https://silverblue.fedoraproject.org/
I know it's being worked on, but it's a little crazy to think that on most Linux systems you still don't get a permissions popup when your calculator app wants to turn on your microphone. You can't grant access to your contacts or email on an app-by-app basis.
I say most because it has been largely solved on Android, for example.