It's pasta. Why do you need an egg?
I imagine you can prepare any kind of variant using similar recipes for things like Mac n Cheese, lasagna, pastichio, etc. You slightly undercook it before adding because it will continue to cook in the casserole.
What kind of sauce are you using?