Considering a woman ran as a democrat then switched to republican as soon as she was in office, it doesn’t seem like anything stopping them.
And when I went to find a link apparently it’s happened multiple times just this year.
https://www.cnn.com/2023/07/13/politics/georgia-lawmaker-party-switch-democrat-republican/index.html
This is deliciously mild.