When I moved to working from home, I became more productive. If you suck at self management, I suppose there would be a problem, but I don't. My boss tells me that I regularly turn out 1.5x to 2x what he expects from any employee, and some weeks 3x, and I very rarely put in more than 40 hrs/wk.
I'm approachable to all my coworkers, so they can still use me as a resource. They just message me in jabber, and then I either answer them there, on the phone, on a video call, or with a screen share depending on what makes sense, but it doesn't break my train of thought the way someone walking up does.
I wouldn't go back to working in an office unless I had no choice. I don't like unnecessarily wasting my time in a car, risking my life on the drive, wasting my company's time on idle chatter, wasting my money on lunch out or more of my time on packing one. I like actually getting to see my kids grow up, and being able to support my autistic son in therapy. And I like being the best at my job. All of that means I work from home.