Is there a way to smooth a wave form?

There is also this “brick-wall” type limiter that affects only the high peaks: https://forum.audacityteam.org/t/peak-limiter/20300/1

If you want to create maximum loudness, use a dynamic compressor first, then the brick-wall limiter. You will need to experiment on short samples to find settings that give you the sound that you want.