That is definitely self-harm. Any damage purposely done to yourself is self-harm. You are mutilating yourself.
Have you thought about why you do it? It could be a form of OCD; Trichotillomania is a disorder of the Obsessive-Compulsive spectrum where you feel compelled to pull your hair out. If it is calming, then something should be done about your anxiety. I know from experience that you don't just self-injure when you're sad, it can be a response to anxiety and stress as well. When I feel overwhelmed, I have the biggest urge to self-harm.
I hope this improves for you, I'm sorry you're going through it. Please know that you're not alone. If you ever want to talk, my inbox is open.
I do it when I'm stressed and angry so it is certainly deliberate, it feels like when I have no control and it's something that I can control and that gets all the anger out of me. When I'm anxious I shake and feel sick and get overly emotional which just makes the situation seem and feel worse.
Sometimes I feel so alone with all of this because my boyfriend has so many issues of his own and I honestly can't talk to him about this and the way I just feel broken on the inside
Your situation sounds very familiar to me. My boyfriend is actually an active member of the Hypochondria branch of AZ; I often feel like I shouldn't talk about my problems to him when he's already got so many worries of his own.
But your boyfriend, like mine, is with you because he cares about you. He doesn't want you to be alone, and I know he doesn't want you to harm yourself. You should at least consider talking to him, or someone else, for support during this hard time. For me personally, I find it a lot more difficult to hurt myself when I have promised someone I love that I will do my best not to. And if he isn't supportive, he isn't worth your time. What you're going through is not your fault.
There are some things you can do instead of self-harm that still create an interesting bodily sensation! For example, rubbing ice cubes on your skin. Anything that is different temperature wise or gives a slight tingly sensation can accomplish the same purpose that scratching would, just without the tissue damage. Also, there are these things called 'Calm Jars' that are essentially jars filled with glitter than you can shake violently when you're anxious/angry/whatever. Then you watch the glitter fall to the bottom of the jar until you feel calm again. It sounds silly, but it is very beautiful to look at.
Again, if you ever want to talk, you can always private message me. I have a lot of experience with this, have received lots of worksheets from therapy on alternatives to self-harm, and understand that sometimes it can be easier to talk about something this serious with a stranger, before you can gauge the reactions of those you know personally. Just know that the people closest to you want what's best for you. You are not selfish for asking for help. You deserve the kindness and support of everyone, including yourself.