I feel like that sometimes too. I adopted a cat for that reason and she really helps a lot. I don't get to see people/friends that often since I'm nocturnal, so my cat gets all my attention lol.
You can still have chocolate, silly. Buy a bag of Hershey kisses and put them in the fridge. When you have a chocolate craving you can have one or two which isn't a lot of calories and putting them in the fridge makes them harder so they won't melt as fast