You can cook raw pasta in the Instant Pot. You want to make sure it's got an adequate amount of liquid and is completely covered on top.