Hello,
You can use MFront to modify the behaviour law in CZM elements. Use a recent version of code_aster, as there have been significant improvements in this configuration.
In your case, it is probably possible to do things without modifying the behaviour laws, for example by adding a dependency on an external variable for the material parameters.
you will need more specific questions and a certain mastery of non-linear calculation in code_aster (STAT_NON_LINE).