It would also still be legal if the Democrats had pursued any of the early obvious corruption, especially the Mueller report, instead of waiting for an election to replace an obviously corrupt man.
Eventually voting against corruption is not a sufficient check on corrupt power.