Yes, you can use a gluten-free flour substitute in this recipe. Just make sure to use a gluten-free flour blend that is suitable for baking.