You could script something like this pretty simply with the DO api, and there might well be programs out there already that operate in a similar way.
My own needs are modest, but I have provisioning scripts that create and destroy DO droplets on-the-fly from the command line.