you could, but i would not recommend it. Sleep apnea comes in many forms. CSA, OSA, maybe you need a bipap and not a cpap. Sleep apnea machines tell you how many events youve had during the night but you could be given a false positive if you try to self diagnose with one of these.
I should also add that for most people it takes months to acclimate to even keeping the damn thing on overnight.
Do you wake up with headaches?
source: i have sleep apnea and wear a cpap