I've added powdered cocoa to the boil before and it adds a nice flavor. But for your situation, I'd strongly recommend using cacoa nibs in secondary, similar to
this recipe. I've brewed it several times before, minus the coffee to make it a chocolae stout, with excellent results. It's one of my wife's favorites. The chocolate really comes through. The nibs are pricey, but worth it, IMO.