Yes, where the breach is sufficiently serious or where the contract or National Civil Code permits termination. Not every minor breach creates an automatic right to terminate.
The Civil Code recognizes breach where a party fails to perform, states it will not perform or acts in a way showing inability to perform. In cases of substantial breach, the affected party can terminate subject to the applicable notice requirements.