Short answer. Yes. Consent obtained by force, intimidation or undue influence is a ground for annulment, because a marriage is a contract and a coerced consent is defective. The ground is lost, however, if you freely lived with your spouse after the pressure disappeared or ceased.
What the law says
(4) That the consent of either party was obtained by force, intimidation or undue influence, unless the same having disappeared or ceased, such party thereafter freely cohabited with the other as husband and wife;
Family Code, Article 45 — Grounds for Annulment. Read the full provision →
Three different kinds of pressure
The clause names force, intimidation or undue influence, and they are not synonyms. Force is physical compulsion, the party made to go through the ceremony. Intimidation is the threat of an evil serious enough to overcome the will, the classic case being a threat to the person's life or to a relative's. Undue influence is subtler: no threat at all, but a relationship of dependence or authority exploited so that the person had no real freedom to refuse. A great many real cases are undue influence rather than the dramatic version people imagine.
Family pressure is not automatically coercion
This is the point on which the ground most often fails. Insistent parents, an unwanted pregnancy, community expectation, shame or financial dependence are not by themselves the vitiated consent the law means. Courts distinguish between a decision taken reluctantly under pressure of circumstances and a consent that was not really the party's own. The line is drawn at the destruction of free choice, not at unhappiness with the choice made. Coming to the case with that distinction in mind saves a good deal of disappointment.
The window closes when you stay
The exception is written into the same sentence: the ground is unavailable where, the force or intimidation having disappeared or ceased, the party thereafter freely cohabited with the other as husband and wife. Once the threat is gone, continuing to live as spouses is treated as a decision to accept the marriage. That is why the date on which the pressure ended matters so much, and why a person who left, returned, and left again should expect careful questioning about each interval. There is also a separate prescriptive period for bringing the action, so timing needs early advice.
Build the record of the pressure and of the leaving
Coercion cases live or die on contemporaneous traces, because years later everyone's account has hardened. Look for messages and letters from the period before the wedding, any report made to the authorities, medical records of injuries, and the recollections of people who saw how the ceremony was arranged and who spoke on your behalf. Then document what you did once the pressure ended: when you left, where you went, whether you resumed living together and why. That second chronology is what the other side will attack.