However, would the court really want to delegitimize American democracy to the point where people's votes literally don't matter and the legislature can elect whoever they want? I think that is extremely unlikely.
Why?
At what point in there entire professional lives has Roberts, Alito, Thomas, Gorsuch, Kavanaugh, and Barrett not been working towards that goal?
No, they've followed quite a conservative and literal view of the US constitution though. I'd argue only Alito and Thomas are truly nut jobs while the other 4 are just justices with one way of looking at the constitution.
No matter your judicial doctrine, no justice inside the remotely normal box would vote to end American Democracy.