I have built a lot of wrecked vehicles over the years, some to flip and most kept for a long time. That said, frame being bent is not a good thing, but not the end of the world. There are places that are capable of pulling a frame to within factory specs.
That said, ALWAYS, plan on extras and...