In my case, our house has a room that is basically only big enough to be an office, and we have solar that means we barely pay for electricity. It's a no-brainer for me to save the time and money that would be sunk in a commute and just use that room for work. However, I can totally see how someone without that extra space would find an office important.
I think what would be optimal for society is if we could reclaim the space that is used for central, commuter offices and bring that space closer to home. Whether that's building more homes that have rooms specifically designed to be offices, or building coworking spaces in the middle of residential areas, we need to do something to eliminate commutes. The amount of pollution, accidental deaths, property damage, and wasted time inherent in people driving to work is insane. Technology is at the point where, for most office workers, the harm caused by commutes far outweighs the benefits of being in a centralized work environment.
If you're working from home, you should be writing off that office space come tax time, which should offset the utility cost.