That depends on the model. The real worry is, you don't want to drill through a roof support. So, you have to have enough access to the underside to tell where they are.
The C pillar is the safest place, but if your PU has a B pillar, it can be used too.
If you have a service manual, you're 90% there.