What are you looking to spend? I bought my current truck from 200 miles away, and I bought my previous car from a dealer in Atlanta while I was in Kuwait. It depends on the quality of the pictures they provide, how bad I want that particular vehicle, and how easy it is to back out if it looks bad when I see it.
Trucks are expensive as heck right now. If you are in the 10-15K range, realistically, you're getting an almost 20 year old truck with a fair amount of wear and tear. At that range, I'd find one close enough I could poke it with a stick, look for obvious issues, and grab one I liked. All vehicle models from the early 2000's are going to have their quirks so just roll the dice on one you like. Whatever you get is likely to need some TLC anyway.
20k ish is where I'd be willing to look for a truck farther afield, in nice shape with the right options.
As for models, I really like 2011 and up F150s. Both the 3.5 ecoboost and the 5.0 are pretty decent motors without too many "bite you down the road" issues. There's a millions of them so parts are cheap, they tend to run to 200,000 ish before anything major needs a rebuild, etc. I don't like RAM's until they put the good transmissions in them (2019 or newer) The third gen Silverado's seem to be holding up pretty well. A mid teens Tundra or Titan is probably fine too.