Yes! Sweet potatoes make a great substitute for carrots in this recipe - just remember to adjust cooking time based on how thickly you slice them.