Currently Apple has been in the process of fixing this, by forbinding any kind of third party code as kernel extensions.
Their long term roadmap being every time a new framework for userspace drivers gets introduced, the developer community is given one year transition period to migrate their kernel extensions to userspace, before that capability is removed from the following macOS version.
End goal being macOS will provide a microkernel like experience for everyone outside Apple's HQ.