This used to be a very big deal in the upper class populations during the 1900’s. It was called Phrenology;
A pseudomedicine primarily focused on measurements of the human skull, as indicative of mental faculties and traits of character, especially according to the hypotheses of Franz Joseph Gall; a German doctor, and such 19th centuray adherents as Johann Kaspar.
Later on, Phrenology was for the most part discredited by scientific research.
There are ads for “bump readers” in some of my old books.
I remember an old TV western from way back in the 1960s in which a good guy (Paladin?)or another shoots a bad guy.
A local Phrenologist declares the dead bad guy as innocent because of his head shape, even though the sheriff comes out with a “Dead or Alive” poster of the dead man.
The Phrenologist later is shot by another bad guy with a “good” brain.