You can! I suggest following a recipe that uses a trivet in the instant pot with water at the base. These will take anywhere from 30-50 minutes to cook all the way through, depending on the size. Once you've cooked your sweet potatoes, you can pick up the recipe from step 2.