There’s some really interesting research into how you breathe while sleeping effects your need to wee.
I can’t remember the exact articles but some Googling finds lots about it -
Does disturbed breathing while asleep make some people urinate more at night?
Nose breathing vs mouth breathing -...