As a person who’s now glad to have a pup: go spend time with a dog or three. Take your friends’ or neighbors’ dogs out for a while and see if you feel like the company is beneficial and if you want that responsibility. If you do, awesome! If you like the hangouts and don’t want one of your own, awesome! If it’s not for you, now you know but you tried a thing and that’s awesome too!
I did that back when I first was on my own and wanted a pet...and then found my allergies couldn't handle it. Was so thankful to be able to return her to a good home. Her personality changed completely, too (which wasn't a problem, except she went from being very standoffish, to becoming a complete cuddle bum, which exacerbated my allergies even more).
It’s obviously a long commitment, but I had been wanting a cat for a while.
At the same time, I’ve been actually getting help psychiatrically, which has been life changing.
They're very loving - on their own terms. I personally prefer the dumb loyalty of a dog but YMMV