Hi Max, I am a 72 year-old man and can relate to the prostate thing. All I can do is relate to how I have handled it. You may have already addressed the strictly medical part, so I’ll try to keep it short.
Kegel sp? exercises can help control the urge to urinate during the day. Best accomplished when you do have access to a toilet but can elect not to rush to it at every slight urge. Watching the amount of liquids you drink, without abstaining to the point of dehydration. Getting a referral to a urologist, taking any prescribed prostate medication, getting PSA checked, etc. Exploring whether any emotional issues play a part, as frequent urination can be a sign of anxiety.
While most posts on this site will not address the prostate issue, a lot will address the accompanying anxiety about not getting back to sleep. This latter issue is the key. We might wake up because need to use toilet, or some other medical issue, or from job or family stress, or whatever. Or we just wake up, who knows why. What really drives insomnia is thoughts taking centerstage. What helps me most here—and it doesn’t work every night—is when I can mentally step back and watch the anxious thoughts barreling through my head. Instead of being overwhelmed by them.
I have made progress with mindfulness meditation (e.g. mindfulness northwest.com; palousemindfulness.com are a couple of free websites). Martin’s materials and course emphasize how thoughts can drive insomnia. And reading other posts can help. I think you will see that sleep anxiety is the common denominator most of us are dealing with. So much so that whatever might initially trigger insomnia, sleep anxiety alone can keep it going.
Take care, you are not alone here.