In my experience, this holds true.
A number of my competitors have been initiating relatively large layoffs the past few months after enforcing a hiring freeze in early-mid 2023 compared to back in 2022.
That said, it's been 70-30 Sales+Marketing-Engineering+Product layoffs wise, but Engineering+Product hiring has absolutely been tamped down.
I wouldn't be surprised if RTO is being used as a way to force some redundancies to leave so we could rehire at a better comp level.