You can customize the Salesforce Commerce Cloud plugin cartridge, but this is not recommended.
If you would like to implement customisations, we recommend to build another cartridge which overwrites the logic. Please be advised that if a customisation has been made, it is difficult for Support to assist you as we are unaware of the custom code implemented.