Back as a young scout winter camping, I
always had to pee at 3am.

I would lay there for 20 minutes trying the get up the courage to get out of my very warm bag and do the deed. I was always
warmer after. You gotta go, go!
A trick from the Inuits and homeless is to keep a jar or jug handy and to do the deed while laying on your side. It isn't a hard trick to learn. Saves time and heat. Unfortunately the solution is not so clear or simple for the distaff campers.
A particularly game, adaptable, and flexible, lady claimed that it is doable using a little device called a "Lady-Jay", essentially a small funnel I think, but, despite my requests, I was not allowed to observe this evolution in any detail so I can't really testify as to how easy or practical this might be.