Yes, you can cook the potatoes in an air fryer or Instant Pot. For an air fryer, preheat it to 400°F and cook the potatoes for 40-50 minutes, turning them halfway through. In an Instant Pot, place the trivet and 1 cup of water inside, put the potatoes on the trivet, seal the lid, and cook on high pressure for 15-20 minutes, depending on the size of the potatoes. After cooking, release the pressure naturally for 10 minutes before manually releasing the remaining pressure.