The PWM transistor will switch the relay ground connections and the existing transisitor will determine which motor terminal gets connected to ground/power.
I think that might be problematic. Applying a PWM signal to the direction relay coilsl ground connection would have the effect of modulating the direction relay coil when the motor is turning in one direction. That may cause erratic drop out of the relay at slower speeds?
Lefty