It would not be so difficult if the solution is hardcoded in puzzlescript code. Dragging the blocks is easy to implement.
You can follow the instruction inside the documentation or the example below.
https://xxuurruuii.github.io/PuzzleScriptNext/src/Documentation/mouse_input.html
https://xxuurruuii.github.io/PuzzleScriptNext/src/editor.html?hack=669bd147a86d4011dcfafa6560172013