Can the wheezing due to asthma lead to throwing up?

Yes. If you are coughing very hard, have increased mucous that is often associated with asthma, or if you are wheezing and struggling for air and are using a lot of energy and excessory muscles to get a breath and you are thus not getting good gas exchange in your lungs and retaining co2, these could all lead to vomiting.