To install macOS, you need to download the macOS Big Sur file from the Apple Store. Given its large size, make sure you have a stable internet connection, sufficient storage space, and patience during ...
I haven't personally, but I can't imagine any issue with doing so. Apple has long allowed running MacOS VMs on top of Mac hardware. I haven't personally, but I can't imagine any issue with doing so.