Could a yeast infection cause pain during intercourse?

It could cause. Vaginal and vulvar irritation and burning but not pain inside the pelvis, if the pain is inside teh eplvis could be due to many different etiologies so see your gyn for a workup.