That used to be the situation for me (or at least I thought it was), but after a few years of being self employed (and most of that time having no choice but to make working from home function) I now have no problems being productive at home (or at least not much more so than at the office).