Can a neurosurgeon diagnose personality disorders?

is that today I had a consultation with the neurosurgeon in the hospital for spinal pain but suddenly he said that he had noticed something strange in me and that I was a manipulative person and I even asked my mother who accompanied me because of my behavior and in the end I left with a diagnosis of a personality disorder.

Can a neurosurgeon diagnose personality disorders?
Post Opinion