BBT tracking question

If you don’t sleep well at night and possibly get up to go bathroom couple times nightly (sometimes) could that affect BBT tracking? Also, I wake up 5 am every morning but am up at least once mid night before. I never really get 3 hours solid sleep.