Sleep apnea can prevent a person from getting a good night sleep, which can worsen diabetes or perhaps increase the risk of developing diabetes. In sleep studies, you are monitored while you sleep for sleep disorders such sleep apnea. There are many effective treatments for sleep apnea.