I’d be getting it on a lift myself and having a good look over it, or under it so to speak. Or ask the shop that told you the ‘frame needs an alignment’ to show you why?
Is there something obvious on the frame? A repair? Welding that doesn’t look stock? Fresh painted area? Anything out of the ordinary? An area that is pulled out where a hook or something was pulling on it?
I’d be taking it else where to have another shops opinion as well. Another alignment shop or garage you trust.
Does it ‘dog track’ down the road driving at all? Drive behind it, see if it looks straight to you. Does the rear follow the front as it should, or is it driving crooked, but still going in a straight line. Google it, you’ll understand me better f you don’t follow me.
There are places that can straighten a frame, which you found, but depends on what is bent / broken as to the cost, if it’s worth it.
Might have a good title, no accident history etc, but a lot of trucks that have been working trucks in oil fields, mines, loggin operations, or any other heavy industry get stuck somewhere and have an excavator, or dozer pull it out of the swamp sideways / on an angle, or something. I’ve done it. It’s embarrassing. Sometimes there’s no choice. Or even an axel, or some other suspension part slightly bent from pulling on it.
Unscrupulous people or just simply a big company with too many people involved in a fleet, might just trade it in, never mention it, don’t know, and the dealer / auctioneer never knows until something like this.
Not trying to scare you, just letting you know it’s possible.....