Yes, you can. Although I prefer homemade because it tastes brighter, you can use storebought instead. Once the corn is cooked, blend it with pesto until smooth.