There’s a lot of great points being made by others, but for me, it boils down to just one.
Privacy.
Offices have no privacy. If my brain is stalling out, there’s nowhere to go to take a 15-30 minute uninterrupted, shameless nap. Bowel movements are subject to crappy, public stalls with big cracks in the doors.
It’s just not worth it. I get way more work done at home, and I’m far more comfortable.