Yes, lifestyle factors like exercise, diet, sleep, and social connections can significantly impact mental health.