Yes, swimming is a great exercise for treating cervical spondylosis. It helps to strengthen the shoulder and neck muscles, thus improving not only your posture but easing the pain associated with this condition as well.