Download ipsw
image for the desired version of the MacOS. Use the following site to get the link.
wget 'https://updates.cdn-apple.com/2024WinterFCS/fullrestores/042-78241/B45074EB-2891-4C05-BCA4-7463F3AC0982/UniversalMac_14.3_23D56_Restore.ipsw'
Create VM from the image.
prlctl create "macOS-sonoma" -o macos --restore-image UniversalMac_14.3_23D56_Restore.ipsw
Truncate the VM disk
cd ~/Parallels/macOS-sonoma.macvm
truncate -s 100G disk0.img
Start the VM
prlctl start macOS-sonoma