In most recipes, no. Melted chocolate has other additives and sweeteners, so it likely won't work in the recipe the same way cocoa powder does.