Yes. That’s why they left easy-to-find fingerprints showing they hacked the DNC. The idea was that the hacking would backfire on Trump and put their patsy Hillary in the White House.
I have trouble believing that the Russians would prefer dealing with Trump to dealing with Hillary.