Sex with a yeast infection

I had this idea. I was searching for ways to help with a yeast infection, & a lot of them said coconut oil is helpful. My boyfriend is coming over .. who I haven’t seen in a really long time .. & I was honestly hoping I would be okay to have sex today. If my boyfriend wears a condom AND we used coconut oil as a lube ... would that be okay? This sounds really dumb but this is a serious question lol. I feel like it may be okay considering it would be pushing the coconut oil all around my vagina, but I’m also afraid that the friction might make it worse .. thoughts?

(Also I’m putting this in the sex category even though it probably belongs in heath)