Yes. Damage to the tubes from endometriosis can cause the fertilized egg to implant in a place other than the uterine lining, causing an ectopic pregnancy and subsequently leading to miscarriage.
However, the reason behind the link between endometriosis and miscarriage is not particularly clear yet. Several studies have been conducted, though with conflicting outcomes.
Suggested for you: What Causes Endometriosis? – Symptoms, Treatment & Pregnancy.