Yes. The Civil Code distinguishes marriages that are void from those that can be annulled on legally recognized grounds. The correct remedy depends on why the marriage was legally defective.
A challenge should be assessed promptly because statutory limitation periods can apply.