Sure, but during mass layoffs, those high performers are a lot more replaceable, and they themselves would know as well, and be disincentivized to walk.
High performing employees are not always fungible. You risk are losing significant expertise and institutional knowledge.
And you might lose more of them by pursuing mass layoffs!