I would think that the value of such a process would be to make sure things
aren't hot, as opposed to "get as close as possible to the loudest recording without distortion". The latter is old-fashioned thinking and counter-productive in the digital world.
Recording hot was desirable in tape days, in order to maximize SNR. But in the digital world it's actually best practice to NOT get as loud as possible, but rather maintain at least 12 dB of headroom. You can record at
much lower levels in a DAW than would be practical with an analog setup. With tape a little saturation is good. In a DAW, getting even anywhere
close to clipping - even if it's not actually clipping - is undesirable prior to mastering.
Even if SONAR did have this feature, or if it was available as a plugin, I probably wouldn't use it. Setting levels properly calls for a human brain that can take into account musical vision, song arrangement, psychoacoustic perception, temporal and frequency masking, dynamic variation, spectral distribution and format requirements.