Yep, both parties do it. The only reason Republicans get more flak for it is 1) gerrymandering to favor urban areas over rural areas is much harder, more obvious, and has less electoral payoff than vice-versa, and 2) they’ve run most state governments since the last round of redistricting. Also, after the Voting Rights Act was gutted, politicians have felt freer to gerrymander along racial lines than they had been when the VRA was more restrictive.
I wish I could say Dems wouldn’t, for example, gerrymander Virginia in the opposite direction if they had the chance, but they probably would. You can argue a bit about what constitutes a fair map, but the truth is a computer can whip out a map that’s pretty close to everyone’s idea of fair in a matter of minutes.