Directive 2013/11/EU, article 10 states "Member States shall ensure that an agreement between a consumer and a trader to submit complaints to an ADR entity is not binding on the consumer if it was concluded before the dispute has materialised and if it has the effect of depriving the consumer of his right to bring an action before the courts for the settlement of the dispute." https://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:...
This does not preclude the customer signing away their rights after the dispute arose, as part of a settlement agreement for instance.