Yes, you can bake most types of cakes in a glass dish. However, some cakes, like delicate sponge cakes, may not fare as well due to the slower heat-up time of glass.