One body shop opinion isn’t enough. Get a couple more informed opinions from 2 shops who’ve put the car on their lift and taken a look at it. So after that you’ll have 3 independent opinions. If 2 say “yes, its ok to drive”, go with that, do what you’re suggesting. If 2 say “no”, then either fix the safety problems first or sell/junk it.
There may be insurance company rules and state DMV rules involved also.