It should not be possible for that to happen for a couple reasons.I agree of coarse to the reality of that.
Unfortunately, there are some gays that believe that their union is sanctified by God and so they want it to be recognized by the church as a valid marriage, not just for legal reasons. So they are willing to force the issue with the church, even if they have to get laws passed to force it on the church.
First and most important; God's law always trumps man's laws.
10 Blessed are those who are persecuted for righteousness’ sake, for theirs is the kingdom of heaven.
11 “Blessed are you when they revile and persecute you, and say all kinds of evil against you falsely for My sake.
12 Rejoice and be exceedingly glad, for great is your reward in heaven, for so they persecuted the prophets who were before you.
Matthew 5:10-12 NKJV
15 But when they had commanded them to leave the council, they conferred with one another,
16 saying, “What shall we do with these men? For that a notable sign has been performed through them is evident to all the inhabitants of Jerusalem, and we cannot deny it.
17 But in order that it may spread no further among the people, let us warn them to speak no more to anyone in this name.”
18 So they called them and charged them not to speak or teach at all in the name of Jesus.
19 But Peter and John answered them, “Whether it is right in the sight of God to listen to you rather than to God, you must judge,
20 for we cannot but speak of what we have seen and heard.”
Acts 4:15-20 NKJV
27 And when they had brought them, they set them before the council. And the high priest questioned them,
28 saying, “We strictly charged you not to teach in this name, yet here you have filled Jerusalem with your teaching, and you intend to bring this man's blood upon us.”
29 But Peter and the apostles answered, “We must obey God rather than men.
30 The God of our fathers raised Jesus, whom you killed by hanging him on a tree.
31 God exalted him at his right hand as Leader and Savior, to give repentance to Israel and forgiveness of sins.
32 And we are witnesses to these things, and so is the Holy Spirit, whom God has given to those who obey him.”
Acts 5:27-32 NKJV
Second; the 1st amendment to our constitution, so long as it has not been repealed, protects us, the Church, from government law.
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.