Download official mac osx using this tool:

https://github.com/corpnewt/gibMacOS

Run command or bat file and select the file to download from apple

Make .iso using this video:

https://www.youtube.com/watch?v=UvHVpG26fkM&ab_channel=eFGaiD

Install Virtualbox using this guide: https://techschumz.com/install-macos-monterey-on-virtualbox-on-windows-10/

Codes: ("Mac OS X") is name of virtualbox

cd "C:\Program Files\Oracle\VirtualBox\" 
VBoxManage.exe modifyvm “Mac OS X” –-cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Mac OS X" VBoxInternal/Devices/efi/0/Config/DmiSystemProduct “MacBookPro15,1”
VBoxManage setextradata "Mac OS X" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388"
VBoxManage setextradata "Mac OS X" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Mac OS X" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1