Can I create a suitable usb installer for another computer?

I’ve recently been given an old iMac, which I’m looking to wipe and get Sonoma on. I have full access to the system, and could use it to create a usb installer for Sonoma, but it would be quicker on my MBP.

Can I change the Mac identifier in OCLP settings to match the iMac and make the installer on there?

Thanks Stewart

submitted by /u/StuMcBill
[link] [comments]