This is brilliant. Proof of that fact is that this is what I have been saying we should do for at least 10 years!!
My view is that the Congress already has the power, under Section 4 Clause 1 of the Constitution (”The United States shall guarantee to every State in this Union a Republican Form of Government”) to pass a law striking down State court judicial usurpations such as the Massachusetts “Supreme” Court’s decision mandating same-sex marriage.
You think that Article IV, Section 4, Caluse 1 of the Constitution grants Congress the power to overturn state court judicial decisions that were (rightly or wrongly) decided under state constitutions? While that may lead to a beneficial result on issues like this, it would set a terrible, terrible precedent.