This is good advice in general. Never worked for me though. I’ve found that my chronic insomnia is mostly divorced from how anxious I am about sleep. That is, it happens either way.
There can be a lot of things that contribute to insomnia. I only have theories about what is causing mine at the moment. I’ve been working on it for years and read tons of publications on the matter. Also worked with a doctor for a while.
I think a lot of it has come down to overall stress that I’ve accrued over the course of my life. Both physical stress (overtaxing the body’s natural processes) and psychological stress. I quit my job over a year ago largely because the accumulated sleep deprivation was so severe I couldn’t withstand the constant pain it was causing me anymore. It really can get pretty bad if it happens over a long enough period of time.
One of the oddest discoveries I’ve made during this period and my self study is that the worse sleep I get, the worse I’ll continue sleeping. I’ll require a total reset period where I get enough sleep for weeks before I start sleeping normally again. This usually requires staying in bed up to 10 or 12 hours a day to get the requisite sleep I require, as well as taking afternoon naps. And until I actually do this, I will continue getting bad sleep.
Also, one of the triggers that can put me into a bad state for sleeping is pushing myself to stay awake when my brain is ready to sleep. Once I do that, it’s pretty much game over. It seems that when I force myself to stay awake, my brain gets into “staying awake” mode. As if I were in a life or death situation and it realizes that it has to stay awake or die. So therefore it absolutely won’t shut down when the time comes. That’s the way I think about it anyway. No idea if that’s what’s really happening. I’m only observing what happens and attempting to draw conclusions from my observations.
So I think what I’m getting at here is in extreme cases, one might need to do a great deal more work and study to get at the root of what’s happening and slowly fix the problem over time.