Not that I’d recommend doing this, but back when I was younger, I had the not so bright idea that I could go to work come home, game the whole night, then go back to work. It was a terrible idea in hindsight, but I used to it a lot. To achieve this, I used to mix energy drinks and pre-workout to stay awake, and I’d drink it as though I was drinking water, so I ended up drinking a butt load. I just want to stress again though that I’d never recommend actually doing this though unless as a last resort, but even then I’d caution away from it. I get there are times when one feels they absolutely must stay awake, God knows the amount of times I accidentally slept through something, and ruined relationships, but as others have said planning is probably the issue you’re facing.
As someone else has pointed out, it really depends on your use case. Although I personally keep my drives (SSD & HDD) in a redundant RAID configuration as my data is largely mission-critical.