Didn't the Democrats already use some underhanded legal tactics to prevent Trump from being president? 
What would such a law even say? 
Pelosiroo tried in 2021 to use an unconstitutional impeachment to prevent Trump from running again for President.
Alvin Bragg tried a fake prosecution and while he got a conviction, Judge Merchan and NY appeals courts have kept the conviction in appeals-limbo.
Letitia James tried a fake prosecution and while she got a conviction, NY appeals courts have kept the conviction in appeals-limbo. Meanwhile, Letitia James is facing prosecution for well-documented loan and real estate frauds.
Fani Willis tried a fake prosecution and it crumbled under her own misconduct and arrogance. That misconduct might actually result in consequences, though I'm not going to be looking like a Smurf from hoping for that to happen.