I think work atmosphere is important, many people can be productive when the work environment is supportive, and conversely if we work from home then people think that home is a relaxed place so it won't be uplifting, in my opinion the best thing is if we want to increase high productivity is working in an office.
Well, for some people working in an office might indeed encourage them to be able to work to be more productive. But for people who don't like pressure from their boss, working at home can make them more focused and more productive.
The point is that everyone seems to have different thoughts about this. Depending on the type of work and also the type of personality of each person. For example, an introvert, they must be more productive when working alone. In contrast to extroverts who are actually more productive when working together like in an office with other employees.
So when it comes to being productive, everyone has their own thoughts about this. Some say at the office and some say at home. But I personally tend to think that the majority might be more productive if they work in an office.
This is situational and it would really be just that impossible that there would be no tracking or tracing up about their performances specially to those who do work out from home.