Figuring out some numbers for a mini pump

question about alternate ways to control the pump.

will this work ?

12v to the pump.
pump lead to a mosfet
pwm out to the mosfet at 30% duty cycle.