Yes, ghee can be used in cakes instead of butter, and they are considered healthier too. Ghee has a nutty flavor, and it can be used in greasing the cake tin or mixing the batter as well.