Yes, you can make it ahead of time. Prepare the pasta as usual, but skip the baking part and keep it in the refrigerator after covering it with plastic wrap. And when you need it, take it out of the fridge, then let it come to room temperature. Bake it according to the instruction. The baking time may differ a little to heat it thoroughly.