Preheat the oven to 400 degrees F. Cut the tops off both heads of garlic to expose the cloves, drizzle with 1 tablespoon olive oil, wrap in foil, and roast for 35 minutes until soft.
Raise the oven temperature to 475 degrees F. Stretch the pizza dough into a 12-inch round on a parchment-lined baking sheet and brush with the remaining 2 tablespoons olive oil.
Squeeze the roasted garlic cloves from their skins and spread them evenly over the dough.
Sprinkle the mozzarella and parmesan evenly over the garlic.
Scatter the basil, oregano, and thyme across the cheese, then season with salt and pepper.
Bake for 12 to 14 minutes until the crust is golden and the cheese is bubbling.
Remove from the oven, slice, and serve while hot.