Scrub the sweet potatoes well. Peel them or leave the skin on, trim off the pointy ends, and cut very large ones in half crosswise so they fit in the pot in a single layer.
Put the water, piloncillo, cinnamon stick, star anise, cloves, orange peel, and salt in a large pot or Dutch oven. Chop or grate the piloncillo cone into rough chunks first so it melts faster. Cook over medium heat, stirring now and then, until the piloncillo dissolves and the liquid turns deep amber, 5 to 8 minutes.
Set the sweet potatoes in the pot in a single layer. Bring to a gentle boil, then reduce the heat to low, cover, and simmer for 50 minutes, spooning syrup over the tops once or twice. Add a splash of hot water if the liquid drops very low.
Uncover and test a sweet potato with a knife — it should slide in with almost no resistance. Stir gently, then keep simmering uncovered on low for 15 to 20 minutes more, until the syrup thickens, turns glossy, and coats the back of a spoon.
Remove from the heat, stir in the vanilla, and let the camotes sit for 10 minutes. Fish out the cinnamon stick, star anise, cloves, and orange peel.
Spoon a sweet potato into a bowl, ladle plenty of warm piloncillo syrup over it, and pour cold whole milk over the top (about 1/4 cup per bowl), or drizzle with sweetened condensed milk. Serve right away.