There’s an experimental “Nyquist plug-in” here that may help: https://forum.audacityteam.org/t/agc-automatic-gain-control/26706/1
Instructions for installing Nyquist plug-ins are here: http://manual.audacityteam.org/man/effect_menu.html#nyquist_effects