Enforced loneliness (solitary confinement) has been a punishment method throughout history.
In the last few years, however, researchers like Robert J. Coplan and Julie C. Bowker have bucked the trend that solitary practices and solitude are inherently dysfunctional and undesirable.