For this baked spaghetti you do need to cook the pasta first. There’s not enough liquid in the casserole to cook the pasta, so don’t skip that step!