Brush strokes for any object

Is it possible to write a script for modifying a bezier curve to use brush sets…example instead of using a handle to move a point you use a brush lets say “move brush”
Any help will be appreciated…And sorry if the idea isnt understandable,am new here