This is a naive question since I don't know anything about rooting, virtualization, etc., so please forgive me if it's silly to ask...

I see that the Samsung S7 Snapdragon devices are particularly difficult to flash due to the Qualcomm Secureboot.

Would it be possible and practical to instead use a virtual machine app on an Android device to run a custom Android ROM? Would root still be necessary to utilize the core functionality of the device? Would the performance suffer too much?