My comments below solely concern M1 Series Macs
There are many articles on how to create bootable USB or SSD Mac OS installers. Below are 2 examples, one from apple support and the other from Macworld. It’s a standard procedure which forum members are familiar with.
How To Create A Bootable USB macOS Installer
Create a bootable installer for macOS - Apple Support
But the following article from the reputed Electric Light Company demolishes - if I understand correctly - the idea that bootable USB or SSD Mac OS installers are of any use with M1 Macs and Monterey. I am referring to recovery, not rare situations where you would want to downgrade the OS.
Please note that the article is about booting from an external drive (which is not what I am talking about) but the subsequent discussion covers the topic of bootable USB or SSD macOS installers
Creating a bootable external disk with an M1 Pro in Monterey – The Eclectic Light Company
In a nutshell, the author argues that in order to boot from the bootable installer key or SSD, the internal recovery drive on the M1 Series Mac must be intact which defeats the purpose of using an installer key in the first place because the internal recovery drive itself would be used.
Below are exerpts from the reputed Electric Light Company reference
On an M1 Mac, you don’t need a bootable installer disk to get Disk Utility, Terminal, etc.: they all come in Recovery mode, which is installed on the Mac before you even get it. Not only that, but in Monterey you get at least two complete Recovery systems, one of which is in its own container/partition on the internal SSD, and the other in a volume in the active macOS set. If they’re both damaged, then an M1 Mac won’t boot at all, not even from a full external disk, and has to be restored in DFU mode.
with an M1 series Mac is that what’s provided on a bootable external disk of any kind isn’t sufficient to boot it. So as far as an M1 Mac is concerned, your flash drive doesn’t contain a bootable system at all. So to boot from that, the M1 Mac has first to boot into Recovery mode (using its internal SSD), and until it’s in Recovery you can’t get it to boot from your flash drive. Only when it has loaded recoveryOS will it give you the option to boot from the flash drive. As by that time it’s already running Recovery, which contains the same tools as on your flash drive, it far simpler just to use them from Recovery instead.