Yes, it is. Eating cucumber prevents dehydration, reduces constipation and hemorrhoids. It boosts the immune system and helps to fight against infections. It provides vitamins which aid in the overall development of the fetus inside the mother. However, eating cucumber in pregnancy may also cause allergies, intestinal gas, belching, and frequent urination, so stop eating if you notice any of these side effects.