Yes, cocoa powder can be used as a substitute for chocolate in a mocha recipe. It provides a rich chocolate flavor without the added sweetness and can be easily incorporated into the coffee mixture.