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
I did this last year when I upgraded to Sonoma after I received a notification.
'# Block Mac from reaching the domain iprofiles.apple.com
0.0.0.0 iprofiles.apple.com'
Just recently I updated to 14.7 so far no problem.
To let you know I didn't do any bypass. I'm only blocking the domain.
I'm waiting for someone to let me know that I'll be safe with Sequoia after the update with this method.