It works well and many pizzas state to do exactly that in the instructions.
If you want to cook pizza in a pan, its best to use stone or cast iron and preheat the pan to the cooking temperature (effectively using said pan as a rack that stays in the oven) and you need to remove it from that pan to stop the cooking process, else cooking will continue from the heat of the pan, making the crust over baked, dry, and in some cases hazardous (really dry crust can cut your mouth).
Fun fact, most people can’t make cookies correctly because they leave them in until they seem fully cooked, not understanding that they continue cooking as they cool. Not pizza related directly, but same property of heat transfer from the cooking medium.










Its an illusion from the racks reflection on the double glass on the oven door. The reflection is shifted in perspective by the tempered glass and makes it appear to overlap the actual pizza.