You sure can! Simply cook the shrimp to 120°F internally using whatever method you prefer. I recommend letting them cool before adding them to the pasta salad.