I guess it's once again time for my standard PSA response to this genre: various chronic medical conditions can interfere with sleep. If you consistently have trouble sleeping or sleeping well over an extended period of time, it very well could be something more than "poor sleep habits".
Sometimes people are speaking from direct experience with well-validated medical conditions fucking up their lives for multiple decades until someone eventually bothered to actually order the relevant diagnostic test.
Snoring definitely correlates with apnea (your airway is already narrowing enough to "snore"). You could rent one but you wouldn't know the optimal pressure settings without a titration sleep study. You could try renting an auto adjusting machine and set the window wide open so that min pressure is the lowest possible value and Max pressure is the highest. Then if you look at the data and see that the machine had to increase the pressure while you slept with it on, you know you had a disordered breathing event(s). The machine reports back AHI but it really means that you stopped breathing and the machine couldn't treat you effectively because the pressure wasn't set correctly, but it doesn't report apneas that you would have had without wearing the machine to begin with because at pressure, it has no way of knowing/measuring them, if that makes sense.