So long as that decision is based on reality, of course.This is why working from home works for some and not all and it’s down to the company to decide what works best for the business.
When that decision is based on ridiculous sweeping statements like "well I think everyone prefers to be face to face" or "obviously people are more productive in a shared office space", it's a problem.
All salary in the workplace above minimum wage is "a perk".Whether someone prefers working from home or not does not usually enter the equation. Some people prefer a half day on a Friday to extend their weekend, but like WFH, it’s a perk.
"Break rooms" in the workplace are "a perk".
Your much desired need to socialise with people at work is "a perk".
Just like all of those things, the question comes down to the same thing: Does X cost or save the company money, and if so, how much? Does X cost or save the company in productivity, and if so how much? Does X help or hinder the company's ability to hire good workers, and if so how much?