To an extent, yes, but I'm pretty confident that it's not actually the coding that's the issue, in that I can work solo on something (even something exciting and all-consuming) and context-switch into social or family mode with only a few minutes of transition time. The "software is a team sport" aspect of a lot of professional programming is much more wearing, though.
My model for this is that I seem to have a fixed budget of sociability that I can either spend on meeting at work or on friends and family. It's pretty frustrating.