Is there such a recipe?
I doubt it ... royal icing is broken down by the pesence of even a little bit of grease... chocolate (and cocoa too) contains varying amounts of fat which would ruin the royal icing.
I've added cocoa powder to it with no problem.
I've had problems adding cocoa to royal icing...it kind of turns foggy and crystalized??