When you ask is it ok what do you mean? You're not hurting anyone but yourself by doing that, but you aren't helping anyone but doing that either. I struggle with this too and I think it's why I probably shouldn't pursue a relationship until I can build my self-esteem, otherwise I'll just end up being clingy and begging for reassurance. Negative self-talk is a pain and you shouldn't fall into the trap of thinking it's normal, I saw a clip from BoJack Horseman once where it shows a stream of conciousness where he just berates himself throughout the day, eating oreo cookies for breakfast thinking "what's wrong with you you're pathetic, make breakfast, why are you still eating the cookies?", I thought it was funny and showed it to my friend and he said "yeah I remember when I used to do that" and his use of the past tense made me realize it's possible to not think this way, so my goal is to eliminate negative self-talk. I don't know how though.
EDIT: Looks like I can posts links now, this is the scene I'm talking about: Bojack Horseman - Stupid Piece of sh*t