i don’t do it as many times as you but i get this too if i wake up at any point i can’t go back to sleep unless i go to the bathroom first or else i will think about it nonstop it’s more of a mental urge than a physical i wasn’t sleeping well at one point and that was excruciating for me having to get up so many times in the night to use the restroom even though i didn’t really physically need to