Yes, coconut oil is one of the main ingredients for this fish fry biryani, and I suggest sticking with it to enjoy the authentic taste and flavor. But if the oil is not handy or not on your preferred ingredient list then you could also replace it with vegetable oil, canola oil, or sunflower oil which may not alter the taste drastically.