You can absolutely make this a gluten-free casserole! The main ingredient you want to substitute is pasta. Look for a gluten-free pasta that you know is sturdy enough to hold up to all of that sauce without it getting soggy.  Gluten is sneaky and can hide in many things. Check the ingredients (or better yet buy ingredients with certified labels) on things like ketchup.