Yes you can put frozen raspberries in a cake. No need to defrost them first, just fold in to the cake batter. The cake may take 5-10 minutes longer to cook when using frozen raspberries instead of fresh raspberries.