I dug into this quite a bit for a while. A book that I found pretty good, albeit at times redundant, is "Say Goodnight To Insomnia". The author has studied sleep, specifically insomnia, for a good chunk of their life and uses CBT to conquer insomnia. The book also talks a bit about myths around sleep which I found interesting.
I also looked into this topic for several years due to my insomnia issues. Ultimately it took forming a new relationship with sleep for me. To let go. Easier said than done. An online CBT-I class helped me make this shift. I later read the book Hello Sleep [1]. It shared information similar to what I learned on my journey. I recommend the book.