Absolutely and if you have one you should get to the doctor right away they can give you medicine that will have it completely gone in just a few days.
It is possible to get sores with a yeast infection but it is usually a large sore area as opposed to small individual lesions. A yeast infection can cause excoriation of the skin making breakages that may be considered sores. However, it is best to see your doctor to rule out another cause.
Yeast infection cant really cause sores, but it can cause discomfort, itchiness, burning etc for a few days time or few hours. It can also occur in some people with no specific symptoms or difficulties too.