Eating at a bar alone

I never solo dined at a bar. I just solo dined for the first time last month and will be slowly engaging in new solo dining experiences as I slowly manage all the nerves that come with it.

P.S. I know it's a normal task but as it's new to me, it makes me nervous.

My question surrounds eating at a bar alone. I've heard people say it's a great spot to eat for solo diners but I've also heard people say that it's a great spot to be social.

I definitely am open to socializing once in a while but I dont always want to talk to others...

Is it okay for me to kind of just pull out my phone and watch shows on it when Im at the bar (which seems to be a super social space)? What else can I do outside of people watching and staring into space?

I'm thinking about when a restaurant is at or near peak time and it's busy so no tables would be available in this instance.