There's lots of types of barbs, but I believe most of them school/get to a decent size, which limits it.
Cherry barbs should be fine for a 10 gallon, and they're pretty hardy. Most of the rest I think would get a little too big, especially with a whole shoal of them in there.