Yes. Regular exercise, from aerobics to walking, boosts the immune system. People who exercise may still catch a virus that causes a cold or the flu, but they may have less severe symptoms and may recover more quickly than their friends who do not exercise.
Deb