Using Arduino with a Voltage Regulator

You can filter PWM to smooth it out. But I'm not the guy to explain that, there's much better here.

You can connect your digital pot to a transistor through a resistor.

The better path probably involves using proper large motor drivers that won't fry your circuits when the motor stops.