This doesn't mean you can ignore proper gain staging techniques!
Like Dave said, if you clip
on the way in to Sonar you're stuck with it and no amount of mix wizardry will unclip it.
Once you have a healthy recording IN Sonar you can mangle it up all you want, (paying attention to gain staging throughout for clean, spacious mixes), but you can certainly overload tracks and easily compensate for this at either bus or master level, nothwithstanding the fact that certain plugins do not react well to having their inputs overloaded.