No, any oven-safe pan will work for this recipe. But cast iron will conduct heat evenly and retain heat well, so it is ideal for recipes like this.