I've been nauseated from back pain but can't recall throwing up. Now kidney stones, yup, I'll drive the porcelain bus all the time untill the pass. I've had several spinal fluid leaks which cause vomitting from the spinal headache .
You must have great insurance to cover Zofram, it's some spendy stuff.
But anxiety associated with pain is common, and nausea associated with anxety is common. So it's not some weird symptom or something to make you think one of the nerves in your thoracic area may be causeing the nausea.
Take care and drive safely.

Dave