Yes, obsessive or repetitive intrusive thoughts and thinking is a symptom of depression and a cause of mental illnesses in general. People who are diagnosed with depression often engage much of their time thinking about something very frequently and for a prolonged time.