Offbeat Correction

I have an audio track/ Song with an unstable Tempo
When i use Tempo detection algorithm, Some time i have to use Offbeat Correction to fix the Tempo detection, That fix some parts that were out of tempo, But it causes problems for the parts that were fine!

Is there a way to use “Offbeat Correction” for specific parts of the audio event?