This would be a convenient option to have within the API, specifically for a script like AFCH; AFCH moves a draft and then removes the templates, but sometimes the templates aren't removed because the edit is interrupted after the move is done.
Currently, moving creates a null edit in the page history, so implementing should not be terribly difficult.
This is just an idea, though, and I am sure there are conceptual problems, which I would be happy to see in comments.