When I was gluten free years ago, I mixed tapioca, brown and white rice flours and made my own baking flour. I do not know if it would work for all cookie recipes, but these cookies look, feel and taste the exact same as they do with normal flour.
1/2 cup oil (I use EV olive- use whatever baking oil you normally use)
3/4 cup cocoa
2 cups sugar
2 tsp vanilla
1/2 tsp salt
2 cups (gf mix or all purpose) flour
2 tsp baking powder
Mix oil, chocolate and sugar and blend one egg at a time until well mixed
stir in salt, flour and baking powder
drop tsp full of dough into confectioners sugar
shape into balls (roll in sugar)
Bake 2 inches apart on greased sheet at 350 for 10-12 minutes
I will post other recipes I find are good or as good as normal that are dairy, gluten or other allergy free.