Nope. Insomnia is real
Insomnia sucks! Even hospital-grade sleeping pills can be resisted if a mind is busy enough. I might suggest a pre-bed routine, possibly some journaling to brain-dump whatever you worked on today, so you aren't "thinking of stuff" while you're trying to sleep!
Nick