Generally speaking, no.
It's possible that some cheap handlebar would pose a safety issue. I'm not aware of any examples other than corrosion on old bars. Or carbon spontaneously exploding

Perhaps someone will speak up about some specific handlebars to avoid, although I suspect you'd need to be more specific about what kind of bars you're looking at.