That's pretty much what this version would do...
The early ones I saw in the old Pop Mechanics were using vacuum powered windshield wiper motors with a faucet vacuum attachment... these were the really old days!
Somehow, I would have done things a lot differently to avoid putting unneeded stress on the motor.