Yes, you can substitute ghee for butter in baking recipes. Ghee has a similar consistency to butter and can be used in equal amounts in most recipes. However, keep in mind that ghee has a nuttier flavor than butter, so it may slightly alter the taste of your baked goods.