And thinking about it more, though I haven't seen if there are studies on it: there are probably manpower/fundraising effects from gerrymandering.
If you're able to protect your political power in one area that probably better enables you to amass resources to use in the area you can't gerrymander.
But all that said, both parties practice gerrymandering and I don't think there's strong evidence of a significant advantage over a major party from current gerrymandering at the national level.
[1] https://da.lib.kobe-u.ac.jp/da/kernel/90008864/90008864.pdf
[2] https://electionlab.mit.edu/articles/gerrymandering-turnout-...
[3] https://stateline.org/2022/05/20/check-your-polling-place-re...