Yes, mental health issues like Anxiety, Depression, and chronic stress can have a harmful impact on sexual function. Poor mental health can contribute to ED.