This sent me down a rabbit hole, but high altitude periodic breathing seems related for some people living at high altitude.
Sleep apnea can be a disqualifying condition for pilots, so I like to be 1000% certain and have plans A, B, and C ready to go before seeking treatment.