Yes, it is very possible that birds vomit when they are scared, in most cases it will be some kind of orange liquid.