It's possible that a little bit of chocolate may be good for you. Dark chocolate has antioxidants that may protect your cells from damage due to free radicals. Chocolate has some positive impact on the function of blood vessels, but, unfortunately, it appears chocolate doesn't lower high blood pressure as much as some people had hoped.
You don't need much chocolate to get the antioxidant benefit. You only need about one and one-half ounces of chocolate per day, and dark chocolate has more of the antioxidants than milk chocolate.
Chocolate treats and candy typically have lots of sugar and fat that can add extra calories you probably don't need and can undo all the good that might be done by the antioxidants.
Budoff PW. "The use of prostaglandin inhibitors for the premenstrual syndrome." J Reprod Med. 1983 Jul;28(7):469-78.
"NTP Toxicology and Carcinogenesis Studies of Theophylline (CAS No. 58-55-9) in F344/N Rats and B6C3F1 Mice (Feed and Gavage Studies)." Natl Toxicol Program Tech Rep Ser. 1998 Aug;473:1-326.