No Sonoma can run on apple silicon (that includes M4 lmao) I have a separate partition with macOS Sonoma as a matter of a fact! I am using the m3 map. If you want to install it as a separate partition, you must partition your disk, and get the Sonoma installer (
https://mrmacintosh.com/macos-sonoma-full-installer-database-download-directly-from-apple/) then choose the new partition as the install location! After that all you have to do to go to the new Sonoma install shut the MacBook down, and hold power until it says "Loading startup options!" For a Clean install... Use a SD card. Make sure you have the installer in the applications folder on your Mac. Use this code and swap the paths accordingly:
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
You can also see the instructions on this link:
https://support.apple.com/en-mz/101578
Once it's done running the command in terminal, power the Mac down, and boot into the installer. Follow the steps and that's it!