I believe so, yes. Cooking the apples allows them to soften while the spices bloom and the flavors meld. This reduces the overall baking time, while still allowing the filling to thicken and set and helps prevent the crust from burning.