Yes, certain lifestyle choices such as a healthy diet, regular exercise, stress management, and adequate sleep can contribute to the overall health and proper functioning of endocrine glands. Conversely, unhealthy habits like poor nutrition, sedentary lifestyle, chronic stress, and substance abuse can negatively impact endocrine gland function.