With the installer in your Applications folder, open Terminal to create the ISO through these steps: How to download and install macOS - Apple Support
: Open Terminal and run the command: softwareupdate --fetch-full-installer --full-installer-version 12.4 . Download File MacOS Monterey 12.4 (21F79).iso
To get the specific build , use a Mac and follow these steps: With the installer in your Applications folder, open