Sure, but "were they in the office" is /much/ easier to measure at scale. And I'm sure you'd throw a pretty big fit if your pay was docked because the company didn't think you did a good enough job, even though you were in the office.
Alas, “this metric doesn’t track what we care about, BUT it’s easier to collect, so let’s use it” explains a lot of really bad policies and practices in our world.
You "just" need thousands of employees to do additional labor. And then you need to process all of that data, including adjusting for the variability in how supervisors measure performance.
They're not mutually exclusive, tracking attendance doesn't mean you are forced to ignore work quality.
Also outside of 80s cop dramas the line "but dammit I get results" does not overrule all other employer concerns. If instead of disregarding an attendance requirement an employee instead decided to disregard a safety requirement, would you give them a pass because they got the job done? How about if they mishandled private customer data? Made unauthorized purchases with the company credit card? Made a bigoted comment about another employee? Someone can be a high performer and still be a bad employee that an employer ought to let go.
If the job description involves being present in the office, then being present in the office is the highest quality signal of being present in the office.