Insomnia is just one of those things. It kind of affects everything.
When you experience it a few days in a row, you feel like your life is a movie. I once tried to read the book "Insomnia", but it was too spooky. Years later and I know remember why it was so spooky because it was very realistic. On a side note, I have yet to finish "Get Out"-- a bit too dark for me. Haha!!
It's kind of funny. I have a dark sense of humor in real life, but I like light entertainment much more. I am slowly getting ready to get back into gaming by year's end.
Back to Insomnia, it could be not sleeping at all, but sometimes it's just sleeping very little. Thank God for the "siesta" or I wouldn't make it, but when you look at a pattern of not sleeping: you can wonder how you make it. Seven hours of sleep can become six and then it becomes fives.
The lowest I have gone in many years is 3 hours and thirty minutes. The mind will tell you: "Good, we have to rewrite this anyway and you can work at that." But you're the walking dead, so it really is nonsense. My homie in Tokyo once told me when I wasn't sleeping at for a long stretch: "Nobody dies from lack of sleep". At that point, it had been two weeks of no sleep. I would just lay down for a couple of hours and rest. I would then get up like Robert McCall in Denzel's Equalizer and go to a coffee shop and write for two hours until I got sleepy.
On the health side, drinking dirt past 6 or 7 doesn't help. It's a trap really. You drink joe to keep going, but the cuppa kicks your ass when you should be playing sleeping beauty. "What to do?" (Fences). I used to drink a lot more green tea-- force myself to do it-- and that was really helpful. I tried to take a nap and the second time was the charm. I am making some decaf, so we will see.
PS. The picture is from nerdsleep.com. It's used in the spirit of Fair Use.