Hi, yeah, thanks for sharing your symptoms.
There is indeed a medical condition related to this. Try googling trichotillomania.
It is actually a type of severe chronic mental illness classified under a type of obsessive-compulsive disorder which is wrongly classified as an "anxiety" disorder (In my opinion).
But yes, if it does bother you, you should seek medical help.
You can see a clinical psychologist or a family physician with an interest in mental health or a psychiatrist.
Take care!