You can definitely make these gluten free lemon brownies dairy free by swapping the butter for a dairy free butter such as Earth Balance. To ensure the best flavor, I don't recommend coconut oil as a butter swap, dairy free butter will work best here!