Yes, you can! However, it's very important to use whole French cut beans not those thinly sliced/halved beans If you do decide to use frozen ones, then you will want to thaw them out completely and use some kitchen towel to blot off any excess water so your casseroles flavour won't be diluted.