Yes, even though the pasta wasn't boiled completely before adding it to the other ingredients in the casserole, it will continue cooking in the sauce while it bakes.