No, sweet potatoes have a different cooking time. Check out my recipe for Instant Pot sweet potatoes.