Yes, just keep in mind that frozen raspberries may bleed and let off more water than fresh raspberries will (see the question above). If you use frozen raspberries you may need to bake your cake for a few minutes longer. The frozen berries will bring down the temperature of the cake, making it bake slower.