Here are the rules.
iCloud will only sync a library if it’s the System Photo Library.
The System Photo Library does not need to be connected to iCloud.
RAW Power can only read the System Photo Library.
A VM will probably not work super well for editing images, because GPU acceleration generally does not work in VMs and RAW Power is very reliant on a fast GPU.