Left untreated, extreme morning sickness, known as hyperemesis gravidarum, can cause organ failure for the mother, low baby birth weight, or preterm labor (source). However, it does not appear to have a bearing on miscarriage.
Although it’s not a hard-and-fast rule, those who experience morning sickness are less likely to suffer a miscarriage (source).