There was the story of a guy (during a tumultuous era of layoffs) that set up his garage with a desk and other office doodads. But he also "drove" to work, so that he still had the 'rhythm' going. The drive would be around the neighborhood block, so when he gets to this office, his coffee pot was nice and warm and he would've gotten a bagel or paper or something. He *did find work eventually so it still paid off somehow--having the mindset that he only had a temporary setback.
You may have seen the TV ad with the office view folding up with the garage door. A tad extreme but it works.
I can see the driving-to-work ritual as something that works. When I work from home, I *have* to dress up. Sometimes I dress up even more formal than when I go to the office simply because I need to get in the mode to work. I can't do that in shorts and slippers.