Unclear if airpod pros use bluetooth at all if they are not playing any audio just doing noise cancelling. I suspect they don’t, and just ping the phone at intervals to stay connected.
But either way, the health impact of a bad night’s sleep is going to be so so so much worse than whatever small or nonexistent effect bluetooth has