Yes, mental health issues like depression or anxiety can influence sexual desire and pleasure, contributing to a lack of sexual activity.