Salting the pasta water is your best opportunity at flavoring the pasta itself since the pasta will absorb some of the salty water.