I don't think this can be answered without considering the quality of the competition. You can, but while you prove to be a name to be noticed in which case is something like 20-0. After that you start to prove how good you are by going against better and better fighters, until you reach your true level, which sometimes isn't that high, despite the good career start.
Maybe the op means just the best record and not the context of every single match. example Rocky Marciano, JCC, FMM, SRR, ....
At the very least, they appear to hold them to too high a standard these days - and certainly they overweight the value of the “0” on many records. And to worsen matters, the over protection of the overweighted “0” has steered us away from many of the best and better matches that should or should’ve been made - which actually compromises records when quality of opposition is ultimately called in. A fighter with a loss or two but with a good record compiled since or otherwise perhaps provides materially positive answers that fighters with undefeated records have yet to uphold.
It's just so relative Goo. Opportunity, belief, support, luck etc etc. Records can be so deceiving. Let's look at Freddie Pendleton. He was 9-7-1 when he faced Hilmer Kenty who was on the comeback trail. Apparently quite a few thought he won that night. He was then thrown in there as an opponent against hot prospect Tyrone Trice on five days notice and not even in the gym. He hammered him in 1 round. Trice won 16 straight after that. He was matched tough for a while and lost 4 of 7. He was 14-13-1 when he faced Roger Mayweather and put him to sleep. He then drew Randall and Bramble, stopped Bramble, lost to Montes by TKO and gave Whitaker a solid workout. He then had a streak, winning a strap, then had a poor streak with a couple of controversial results. He always had a poor record but damn could he fight, particularly after hooking up with Gersh. There was a short thread about him ages ago and i commented on his makes and breaks - https://www.boxingforum24.com/threads/fearless-freddie-pendleton-fought-everybody.598216/
Funny but the first solid record i thought of when i saw this thread was Marvin's 62-3-2 (52). It seems to immediately tell you about a guy who worked way through the ranks in a very tough era. When i see a record that say 22-0, my first thought it to see if they've been carefully managed and heavily protected (or 'Bobicked' as it's also known).
Another good colour by numbers career was that of is LaMar Clark 42 w 41 KOs Zero Losses before he first tripped up and then tripped a few more times before calling it quits. His first loss and TKO at that was to an opponent who was 12-2-1. As to Bobick, when he stepped up, his career went down the Duane shortly thereafter. It’s okay, I am a fully licensed Dad. I have a right to crack the worst jokes (apparently). On a more serious note, someone posted the combined records of Benitez, Duran, Hearns and Hagler as and at the time Ray beat each man (for the first time where applicable). The combined numbers were incredible.