hmmmm indeed there is
I already used this here: Carcassonne Medieval city - #380 by pitibonom
the thing is that it is not as convenient as an automated solution would be
something like drawing an overall curve on the wall and blender randomizes some vertex positions and cuts the wall, also allowing the preview & adjust the final result…
And i confess i’m lazy and prefer make the computer work instead of my mouse