Yes, you can substitute the all-purpose flour with a gluten-free flour blend. Ensure that the other ingredients are also gluten-free to make the entire recipe suitable for those with gluten sensitivities.