I think some non-canon sources have tried to map out the classifications. Has one ever been formally adopted?
Yes, Geoffrey Mandel's Officer's Manual
had a list with planet illustrations, I'm not sure if he was the first one.
Of course, "M" could also stand for "Mother (Earth)", indicating a class of planet you'd feel absolutely safe being there.