Yes, but no… the Dems are no doubt using the court system, but not like you think. They WANTED Trump in the race. Every time they indicted him, more Rs got behind him. They are well aware that ANY Republican candidate would walk right over Biden… except Trump. This hasn’t been about destroying Trump, it’s about solidifying his support, eventual nomination, and inevitable defeat in November.
FWIW, it also strengthens the resolve of the “anybody but Trump” voters to vote democrat.