In theory, this will work, but it will alter the flavor and drastically alter the color of the final dessert. For the best results and traditional-looking color, white sugar is the best choice.