If you were playing chess and could do whatever you wanted, you could take several goes in a row, take the opponents pieces off the board and move yours into a winning position. How does that help you play better under the constraints of the rules?
This isn't true in programming or real-world tasks where you are trying to accomplish some external objective.
If I could move my Rook there it’s a win, is there any way I can make that happen? How about if I sacrifice my knight etc.