Using alternatives to a pan can substitute it. However, you should never cook pizza directly on an oven rack. Especially for homemade pizza, unless there is a chance to melt the pizza and spoil it. However, you can directly cook a frozen pizza that stays intact in the oven rack without support.