While technically, any cooking oil or fat could be used to make a tarka, those with a high smoke point are best (canola oil, grapeseed oil, peanut oil, safflower oil). This is also why ghee or clarified butter are often used. You’ll want to use something with the least likely chance of burning.