Can I use gluten free flour instead of pastry flour?

You can, but in my experience GF flours tend to be thirstier, so you may need to increase the liquid. For more information on using GF flours, check out my post here.