Yes, you can use other butter such as dairy-free or vegan butter in gluten free cookies. The flavor may slightly differ but the texture should be very close to the original recipe.