No, unfortunately gluten free flours like almond flour cannot be substituted one to one for another gluten free (or gluten containing) flour like coconut, cassava, or all purpose flour. I never recommend substituting flours in a recipe that doesn’t specifically state it has been tested.