Heat the oil in a large saucepan over medium heat. Add the onion, 1/2 teaspoon salt, and 1/4 teaspoon pepper. Cook, stirring occasionally, until soft, 4 to 6 minutes. Add the sweet potatoes and garlic and cook, stirring occasionally, for 2 minutes.
Add the rice and cook, stirring, for 2 minutes. Add the wine and cook, stirring frequently, until absorbed.
Measure 3 1/2 cups of water. Add 3/4 cup at a time and cook, stirring occasionally and waiting until each addition is absorbed before adding the next. It should take 25 to 30 minutes for all the water to be absorbed.
Stir in the Parmesan and oregano.
Substitution: Any flavorful winter squash can be used in place of the sweet potatoes in this recipe. Try butternut, delicata, or hubbard squash.