We had a betta in a community tank that included gourami's. Did not work, and now, after being older and wiser understand why. The betta knocked one of the gourami's eyes out. We moved him, and both he and the gourami did fine for a LONG TIME afterward...but not together. Based on that, I would not do it again.
However, we had a bunch of stuff in the tank that appeared to not have difficulty with the betta..including some mollies, guppies, cory cats, and probably some tetras of some sort.... it has been a long time...anything and everything active and colorful. The tank was very un-scientific and for the amusement of our cats.
I am much better informed, now.
By the way, only one of our four cats ever gave it a look, but Pongo, a male Siamese, spent HOURS and HOURS watching the continuous show!