You’re looking for a compressor. Lots of pro audio boxes out there. A MiniDSP box where you can implement a compressor is fun, you can also tune just about everything else with it. https://docs.minidsp.com/product-manuals/flex/dsp-reference/...
I used to love MiniDSP but now it uses “Dirac” so you need 2 accounts one in dirac and another in MiniDSP, install 2 different softwares that work together(?) you get the download links (drivers and software) for the products you purchased from your account. Too cumbersome and time-wasting for pros.