i frequently did stretches of 5-6 days without sleep when i was addicted to crack. by day 2-3 i was psychotic and getting progressively worse.
i also had major issues with sleep aids, til i went to rehab i'd done 16 years without 'natural' sleep. its fucking hard. you won't go insane. you may well have a few completely sleepless nights. it is really really hard not to give in, tbh i couldn't do it by myself. your brain takes a frustratingly long time to heal, but within a few months of getting out of rehab i got to the point of never needing sleep aids or even thinking of using them.