Hello,
DP/DR is caused by anxiety if it starts with a traumatic experience (comorbidity), so yes it is perfectly related for a lot of people here and removing stress while having a well balanced life is the solution in that case.
If not anxiety it can also be induced by either some psychic imbalancement (most people experience dp or dr at some point in their life, they just don't necessarilly realize it and it can be benefic in order to seperate themselves from any form of stress for a while). I now remember experiencing what now seems to be dp once (but no dr), it lasted a week (about 2 years ago), it was one of the best experience of my life, I felt constantly happy and motivated while not really feeling anything, I guess it might have been cause by a small dose of ecstasy I took a few weeks before.
Other than that I'v heard it can be caused my meditation as well, for it detaches you from your own awareness. It's important to remain focus on your life and what you do / percieve when you have dp / dr (except stressfull thoughts of course).