I wouldn't do it, mainly because of the fact that cocoa beans may produce a cocoa liquor which makes the burrs unable to function properly, and by default, this may drastically reduce the machine's life expectancy.