It really depends on the people you're dealing with and their motivation. I've been working from home 100% since early 2016. You can make it more efficient in almost everything (I don't do creative work - so I don't know how that would go). Add to it better wellbeing, lower environmental impact, better access to skilled workforce and lower cost for the company and there should be no doubt WFH works 100% of the time in 99% of companies. I often had small team leaders, or mid managers tell me, "but I don't really have that close personal relationship with some of the people WFH". Yeah, sometimes you don't. When you have a tough problem in the office and your boss comes down you can show him how everyone is so busy trying to resolve it. You have a group of guys looking very busy here, a loud meeting over there. And you can just run from one group to the other looking extremely involved.... When people WFH you actually need to know what they are doing (very rare a manager will have a knowledge to fully understand a deep tech issue at such level) or you just trust people are doing their best. And that is very difficult to do when you don't know if they aren't having a birthday party with their kid and pretending to work when your world is caving in. The solution? You have to have good technical team leads and you rely on them in such situations.
The horrible non-solution some companies try? Monitoring. Desktop casting, webcam always on. As long as you do that the productivity will plummet far below that of the office. Why? Because you give people another tool to show how busy they are "at work" other than the work itself. If you have no monitoring you have to prove you're working by doing actual work. We all know the products called "mouse jiggle" and such. If you cN get away with looking busy for the camera and moving the mouse many people will. All these people that pretend to work are a huge untapped economic potential. The key to utilising it is making them want to do the work.