Well backed RCTs have generally shown >95% of sleep issues are solvable, with sleep hygiene (this means using your bed only for sleep and sex, keeping your room dark and quiet eg no blinking leds, and getting up and getting light exposure if you don't fall asleep in 20 mins) resolving ~70% of cases. Anxiety treatments resolved most of the rest.
You could be in that last 5%! But that is extremely unlikely.
Cut caffeine and alcohol entirely, turn off lamps and hide your phone two hours before bed, read a paper book or write in a paper journal.