A pulse oximeter can be used as part of the diagnostic process for sleep apnea, but it can't diagnose the condition on its own. A comprehensive sleep study (polysomnography) is typically necessary to diagnose sleep apnea.