I wouldn't reccomend it. They're brightly coloured and have long fins that Bettas will attack. I think there's also conflict because they're from the same family.
But if you ever get another community tank, I really reccomend these guys. I used to have 3 males, they're really great fish! ;)