I have done both. Chassis wiring under vehicle for an Anderson plug for the trailer. I ran internal wiring for the trailer brake controller because I needed to locate the controller in the driver's compartment and then run to the trailer harness fuse box in the left rear quarter panel.
To my thinking there is a smaller chance of damaging the wiring loom if it is internally located.

