Yes, cycling can help strengthen your ankles and improve their range of motion. It is a low-impact activity that engages the muscles in your lower legs, effectively without putting excessive stress or impact on your joints.
However, it may be more beneficial to use cycling as a supplement to targeted ankle-strengthening exercises rather than relying solely on it for ankle strengthening.