I don't know if they can or not but I think they can. Our old dog used to always get sick right after someone in the house would have the flu or a cold.
If he is throwing up that much I would take him to the vet just to make sure it is nothing to serious
If he is throwing up that much I would take him to the vet just to make sure it is nothing to serious