No, cocoa beans are not safe for chickens. Chocolates are made from cocoa. Feeding your hens with it is worse because theobromine and caffeine concentration is significantly higher than most store-bought chocolates. In short, don't let your chickens eat that has too little or too much chocolate.