Isn’t that what DriverKit can be used for?
https://support.apple.com/en-gb/guide/security/secd0a47c14c:
“DriverKit is the framework that allows developers to create device drivers that the user installs on their Mac. Drivers built with DriverKit run in user space, rather than as kernel extensions, for improved system security and stability. This makes for easier installation and increases the stability and security of macOS“