Male betta community tank

Has anyone had luck keeping a male betta in a community tank, every sight that seems trust worthy only has males or females that aren’t the color I want. Help plz