Comment by commandersaki
Pretty sure there's an exception for drivers but requires at minimum notarisation from Apple, but more likely a review as well.
They just developed a new framework that allows drivers to work just in user space https://developer.apple.com/documentation/driverkit
Well - recognition where it's due - that actually looks pretty great. (Assuming that, contrary to prior behavior, they actually support it, and fix bugs without breaking backwards compatibility every release, and don't keep swapping it out for newer frameworks, etc etc)