You aren't supposed to do that anyway. It seems far fetched, but someone might have been terminated without you knowing and is trying to sneak back in. At a larger enough company, this is bound to occur
We're supposed to do individual scans. If I walk through a door that someone is holding for me I can my badge and make a quip about Big Brother. A lot of people don't scan in these situations and I think that's a mistake. Our employer is absolutely tracking badge scans against employees who are supposed to be RTO.
I've been in the tech industry since 1995, and I've never worked somewhere that didn't require individual security badges to gain access to the building. Both schemes exist in abundance.
Some of the FANG certainly do, using one at a time admission enforcement devices in some (but not necessarily all) of their core offices. Amazon, Meta for sure.
But, random software company in the suburbs? First person off the elevator badges and everybody else follows.