No! Pesto is an uncooked sauce that should not be put over direct heat. Instead, the freshly cooked pasta and a splash of hot pasta water will thoroughly warm the pesto sauce as it is tossed together.