Yes, but keep in mind that different pan sizes will affect baking time. Adjust the time accordingly and check for doneness with a toothpick.