createinstallmedia should work just as well on both platforms. The only caveat is that you cannot use versions of it from Catalina and earlier macOS version installers on Apple Silicon Macs as the app is lacking in a signature the specifics of which escape me at the moment. So, don't go downloading Catalina, Mojave, and High Sierra installers on your Apple Silicon Mac thinking you can make bootable installers for all of your old Intel Macs that you have lying around because it won't work. Big Sur, Monterey, Ventura, Sonoma, the createinstallmedia command built into installers for all of those ought to work just as well on both architectures/hardware platforms of Mac.