Yes exactly like that cadenza.
The cadenza in Chopin's prelude op. 45 c sharp minor has "
a piacere", in both of my volumes: Henle, Preludes, and Peters: Preludes and Rondos. A short description of the 2 expressions "ad libitum" and "a piacere" can be found here:
https://en.wikipedia.org/wiki/Glossary_of_musical_terminology#AAs sources, Henle refers to D (German First Edition, Mechetti, Vienna, 1841) and F, the French First Ed. (Schlesinger, Paris, 1841) , of which the latter is, in the Henle-textcritic appendix, called "very unreliable." But to the cadenza, nothing special is mentioned.
It isn't exactly said that it should be completely left out, nor be replaced by other cadenzas. But "a piacere", at least, should describe a certain freeedom, as it is explained in the link mentioned above.
Cordially, 8_octaves!