A journalist asked Gene Roddenberry, the creator of Star Trek, how a bald guy could helm the U.S.S. Enterprise in the 24th Century. Surely, by then, they would have found a cure for male pattern baldness?
To which Roddenberry replied: “No, by the 24th century, no one will care.”
One of the great things about Star Trek is that it celebrated differences, but not discrimination, though it was not afraid to talk about it. The Klingons do not think, or talk, or act, like the Betazoids, and Data has a different way of looking at the world than the Ferengi, though they too have their moral codes as outlined in the "Rules of Acquisition."
I have always thought it was a bit of an insider joke that an
William Shatner, of course, was a toupee man. And who are we to judge? It almost certainly made his career.