Perhaps if you had a more complicated program that did animal breeding, beekeeping, or farming, but for a Quarry that seems like overkill. Really, for mining, you have two choices: Choose a direction to move, and dig then move, or go home (for whatever reason, fuel, inventory full, etc).
But...