I don't think so it is anxiety as people with anxiety mostly bite their nails so it is not anxiety. I am not sure but it can be Onychotillomania. I don't think it is harmful. You can apply some oil on your nail than you won't be able to hold and pull your nails.