this is how I brought the wires in on my solar panel, just left a little drip leg and used the grommet for the door wires (loads of spare room in the grommet)
this was 8ga wire so anywhere higher on the door and it pinched too much, but routing it on the side a little avoided any pinching or rubbing. smaller gauge wire you might be able to kind of come in straight from the roof rail, just check it carefully because that gap gets tighter when you open the door
i used 3m adhesive wire clips to keep everything in place and then, not seen in the photos, wrapped in Tesa wire loom tape for additional protection
after this it's really easy to fish wires down the pillar and then you can fish it down to the door channel and take it anywhere you need to.