A lot of marriages amongst royalty required this in days gone by.
I guess that was because the "church" and politics were so interwoven.
Today, most religions allow for nominal members.
If I loved someone who wanted me to have nominal membership I might do it.
But they would have to be very nominal themselves.
But that is because I now believe that all religions are basically alike and serve the same function in society.
The trick is to steer clear of famaticism or control by religion.
People should use religion not let religion use them.
At least that is what the smart folks appear to be doing.
It would have to be someone who felt that way about religion for me to even consider conversion.