*This website DOES NOT constitute treatment and only provides information and advice in a Q&A format. For treatment (therapy and/or medications) you must go to a licensed professional in your area. Please note that anything said here is not private or confidential, as this is a public forum.
Hello and thank you for using JustAnswer. I am very sorry that you have suffered from this level of insomnia for so long, I can understand how distressing this can be for you. I would recommend going to a psychiatrist that specializes in neurological and/or insomnia cases if possible than you may be able to get a prescription for the Xanax or Temazepam. In the mean time, other medicatons you can try would be Gabapentin as this is a non-addictive medication that acts in a similar fashion as the benzodiazepines, so you may respond to it. Gabapentin also has a secondary function of lessening anxiety as well. Other sleep aids that your doctor can consider would be Trazodone, Doxepin, and Seroquel as these all have a strong sedative effect and can lessen anxiety for you too.
I hope this answers your questions and gives you some guidance on this issue. Please let me know if you have any questions or concerns as I am happy to assist and support you regarding this issue.