Yes, you can. If you don't want to slice each baked cake into two to create four cake layers, feel free to divide the cake batter between three cake pans for just three layers. They will bake quicker in the oven and you won't have to slice any cakes, making for easier assembly.