Earlier quoted context omitted.
The first line of treatment is CBT-I.
CBT-I is psychotherapy targeted at treating one specific cause of insomnia. It does not address any of the physical ailments that may also lead to sleep disorders. If you aren't careful, you'll lose your internet medical license with such bold medically unsound claims.
As someone who took way too long fussing with sleep hygiene and the like before finally getting a proper sleep test though, I see the potential danger of telling people what to do first. (Though in my defense, I did get a sleep test a while back and it ended up the sleep tech was trash and I should have gotten a second opinion)