Yes! Sleeping disorders like sleep apnea affect your breathing patterns, thereby causing insomnia.