Ideally under supervision, at that. Near the very end:
>In the case of wake therapy, Benedetti cautions that it isn’t something people should try to administer to themselves at home. Particularly for anyone who has bipolar disorder, there’s a risk of it triggering a switch into mania – although in his experience, the risk is smaller than that posed by taking antidepressants. Keeping yourself awake overnight is also difficult, and some patients temporarily slip back into depression or enter a mixed mood state, which can be dangerous. “I want to be there to speak about it to them when it happens,” Benedetti says. Mixed states often precede suicide attempts.
Sleep deprivation is nothing to fuck around with. If you're emotionally unstable, it'll usually make that worse.