Animal studies show adverse effects on the fetus, but there's not enough research in humans. That being said, my sister was invited to be in a gabapentin study for hyperemesis during pregnancy, so pregnant women are taking gabapentin
I strongly recommend not taking it due to a personal experience
It will depend on your condition and your doctors recommendation