No, guinea pigs should never drink hot cocoa.
Why It Is Dangerous
Chocolate is toxic to guinea pigs because it contains theobromine, which can cause heart problems, seizures, and even death. Hot cocoa is also high in sugar, which can upset a guinea pig's sensitive digestive system. Milk is unnecessary for guinea pigs, and many are lactose intolerant.
Instead, offer fresh hay, vegetables, and a small amount of fruit. If you are concerned about your guinea pig's health, consult a veterinarian.