You should discuss your dietary questions with your gastroenterologist.
Large amounts of protein
are not good for people with cirrhosis, and most chocolate is dairy chocolate. Your doctor should arrange for you to meet with a dietician who can better discuss more fully dietary issues with you, which are an important part of your treatment. There is no particular problem with moderate chocolate.