YAS! My grandmother always said when you're sick, eat some chocolate.
Now science says that's correct!
It works like this: when you eat chocolate, and especially if you let it melt in your mouth, it will coat your throat and protect the nerve endings, which when irritated, make you cough.