Yes. Gajar Halwa can be made with butter. Keep in mind that the taste will be quite different from the traditional halwa. Use good quality, unsalted butter with a low moisture content to replace ghee.