I've struggled with sleep for the last year or so as well. My sleep doc did a two week trial of temazepam with me. It is a drug that increases your sleep drive throughout the night, sonthat you stay asleep. Not like most sleep aids that just help you fall asleep. It made a big difference. For the first week, I was still slightly groggy, but sleeping 7:45 consistently. Prior to this, it ranged from 6:00 to 7:15. By the second week, I was feeling quite a bit better and not groggy at all. Problem with this drug is that it is habit forming, and you can build a tolerance fairly easily. So it is meant to be a short term solution. Another drug I have heard being used for sleep issues is trazadone. This one is not supposed to be habit forming.
Another thing to consider is anxiety. This can be a cause of insomnia as well. Sometimes poor sleep leads to anxiety about getting a good night sleep. Which then makes your sleep worse. It can be a downward spiral.