Not if you aren't pulling more amperage than the 4 ga or 1/0 can handle in the first place, no.
AND by frame we hope you mean to frame and not a piece of sheet metal, seatbelt bolt, etc.
You should be absolutely positively fine by doing so. Also, the shorter the runs can be made, the better.