Can some functionalities for os be passed to second kernel?

For example there could be docker or some other VM with Halium kernel to use some apps for example WiFi, camera and SIM calling?

Example can be qubesos which uses separate VM to do networking and other functions.