Yes. Depression, stress, performance anxiety, and relationship issues are common causes. Psychological causes of ED are more common in younger men, and can be the primary cause in 10-20% of cases. Therapy, counseling, lifestyle changes, and stress reduction can restore sexual function, especially when combined with medication.