Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
Made a fresh setup yesterday on my MBP 14, mainly based the the OP's main thread.
There's one point which shall be noticed, which is unmentioned here at all.. When doing 'csrutil enable', it might be asking for internet access. No worry, just turn on your wifi then, mdm lock won't be around under the recovery stage, so you're totally fine.
Another little tip. There's actually no suggestion of "system will be rebooting in x sec" during the reinstalling stage. So when it suggests that "the remaining time: 1min", the installer actually has completed downloading the macOS contents. So you can safely turn off your router in order to evade any risks in the "first-setup" screen and make a completely offline environment until you make it into the desktop.