Yes, you can cook the pasta and sauce separately and combine them just before serving. This will ensure the pasta doesn’t get soggy. Remember to cook the pasta al dente as it will cook a bit more while reheating.