Only to the extent that some people are especially prone to indigestion! Raw onions don't cause food poisoning unless they have been contaminated in some way, which is very rare and no more common in onions than any other food. They will deteriorate once cut, though, so freeze any chopped onion that you are going to keep for more than a couple of days.