BBT question

Kr

Okay so say I wake up between 3-4am to use the bathroom during the night would I still be able to track my bbt successfully? Would I just take my temp before getting out of bed?