Yes, you can substitute the flour with a grain-free option like almond or coconut flour, though the texture may differ slightly.