Yes! In fact, most of the time, yams are actually mislabeled and are really just orange sweet potatoes. A true yam has a dark, almost black skin and is white inside. If you happen to come across a true yam, it can't be substituted for sweet potatoes, but know that it is fine to use the orange varieties here!