This doesn't sound like anything to be concerned about. If you were excessively thirsty + excessively urinating, that can be a sign of diabetes. But, that would be all the time - you'd be waking up a few times a night, no matter what. If you were experiencing burning and urgency (like, I have to get to a bathroom right this second) many times per day, that's a sign of possible infection. But again, it wouldn't come and go, and you wouldn't have any control over it, conscious or not.
A lot of people have "gotta go" triggers, and thinking about it just happens to be yours. For me, it's water coming out of a faucet or shower head. As soon as I turn on the shower to warm it up, I have to go. If I start refilling my dog's water bowl in the kitchen, I have to go. I'm not sure there's anything you can do about it, but absent other symptoms, it doesn't sound like a physical concern.