How do I quantize an isolated vocal track where the BPM varies slightly?

I have isolated a vocal track from the 80’s using spectralayers but the BPM is varying throughout the song slightly. Is there a way of “quantizing” this to fit my remix so that the BPM remains stable?