I would cut back on the coffee at noon. Or, at the very least, after noon, switch to a decaf version for you afternoon cup and see (just experiment) to see if that makes a difference. Seriously, it may be as simple as that. It helped me considerably.
If I have coffee in the afternoons, I'm screwed. And in my earlier years, I used to drink coffee without it affecting me. It's weird as we get older.
I do have a friend who went to her doctor and got a sleep aid that was safe. I don't know the name of it - I believe it is a prescription. I think it is for women. Have you gone that route? It's supposed to not be addictive (or as non-addictive as they can be). It has made the world of difference to her.
My sister swears she gets a much better sleep with her fan on and if she travels (hotels, or anywhere else she just uses an app on her phone) she can use them too. It just drones out everything and puts her in this zen like state and keeps her there. No interruptions and she's gone through menopause.
I have to admit, when I go to her home to visit, she has a big fan overhead and I use it, and I get some of the best sleep I ever get. So that may be an idea. I sleep like a log. I don't even dream. It's like a roaring going on over my head.
I myself used to have problems with sleep, but I take medications for a condition I have, and the benefit (side effect) is that they make you groggy so my doctor recommended I take them at bedtime. So I hear you (can relate). I know how important sleep is. I would talk to your doctor and see if he/she can recommend a sleep aid because if there's one like my friend takes that safe and non-addictive, that would be the way to go in my opinion. Good luck :)
ETA - I too sometimes find a snack before bed helps me sleep through (I used to get low blood sugar).
Also - I don't sleep as long as you do. I go to bed later (although I start my go-to-bed routine earlier, like around 9 pm ... I really like to linger before bed, because that's my 'me' time, but I probably konk out more like 11 pm and I'm up probably just before 6 am. Maybe once you get off the meds, you might find you don't need as much sleep at night, and just need a cat nap in the afternoon. You don't mention your age.