Battery Relocation Question

I'm relocating the battery to the trunk. I have the interior out of the car and noticed where they routed wires going to the rear of the car along the driverside floor. Is it ok to run the battery cables along that same route or should they be routed outside of the car?

Thanks,
Craig