As others have pointed out, there are rules against treating family/spouse. I’d imagine there are stories of patients and clinicians falling for each other, in which case the ethical move would be to transition care to another provider as soon as possible.
Here’s the full AMA rule on dating patients that walks you through the steps in more detail: