On the other hand, it is also imaginable that working at home away from everyone else makes communication harder, and more opaque. Or it can make you lonelier. Not every company has policies and culture that makes it conducive to work from home.
It does, but working in a noisy office makes concentration harder. As a developer, I communicate maybe 5% of the time but code 95% of the time; so what you are saying is true, but it's such a small part of what a developer does.