Sure if the VFD has a Kw Rating that suits your spindle, the old one most likely failed because of wrong Parameters set
So if you have the VFD to Match the Spindle there will be no problem no matter what model the VFD Drive is
Spindle spec's
Kw 1.5
Amps=??
Hz=??
Voltage=??
VFD Drive spec's
Voltage=
Amps= output