In general, almond flour cannot be substituted 1:1 for gluten-free all-purpose flour. Almond flour does not absorb as much liquid and is much softer, which may change the texture of this cookie dough. I do not recommend it for this recipe.