This line of thinking assumes you can reliably separate people that have had covid from those that haven’t. In the real world requiring vaccines for everyone means vaccination of people that thought they had covid but didn’t.
Which I suspect may be the underlying reason studies are showing the vaccines are more effective than getting covid.