Hi,
A capacitor would do exactly the opposite, It would present a low impedance to the fast PWM edges, increasing the peak driver current! You can use capacitors for electrical prush brush noise suppression, but that would be in the <100nF range.
If you want to limit the peak current, then a low value series resistor would help, maybe around 0.1 -0.5R