If you could discover an email where an executive admitted their RTO strategy was a layoff then maybe, in some jurisdictions. But it's hard to prove, most of the time they could just say their motivation was "culture" or similarly vague and unfalsifiable like that.