I do this, and while it's not impossible, working from home with small kids around is downright difficult. I think when I decided that working from home would be the best of both worlds, I was totally overestimating my children's ability to occupy themselves for longer than 25 seconds.
Source: Flickr user Kelly Sue DeConnick