To make this recipe gluten free, substitute the Nilla wafers with certified gluten-free vanilla sandwich cookies or gluten-free vanilla wafers. Also confirm that the instant banana cream pudding mix, powdered sugar, cooking spray, and any whipped cream or garnish ingredients are labeled gluten free, as ingredients and manufacturing practices can vary by brand. If adding sliced bananas and homemade whipped cream, those are naturally gluten free and work well as a safe topping option.