Obviously, the math has to make sense with shipping, but I’ve shipped cars from out of state in California and I’ve leased cars from out of state and flown to pick them up and driven them back - Far and away better deals than anything I could get locally at the time.
If you’re curious about the process, that is one of many shipping threads here that discusses whether or not it makes economic sense, and includes recommendations about who to use.