The short answer is: you get used to it, but it is not ideal or a particularly healthy work lifestyle. It has many of the same problems as solitary confinement within a prison.
Since the pattern is increasing all around, more social support structures are emerging around work-from-home lifestyles, but frankly, the current state is very primitive.