Yes ... use a resistor to create a voltage drop from the 4-20mA signal , feed into an analog input.
Need to know the motor spec to know what it needs to drive it - does it really want 0-10v PWM ?? Or is that what you want to use , whatever the motor wants ??
If you are controlling flow , you want to look at PID loops too.