What size tank ? Cories need floor space. They do best in groups of 6 or more just like all shoaling/schooling fish.
I had a Betta attack and kill some young Panda Cories. YMMV.
Most Cories need at least a 20g Long.
And the Pygmy species would probably be picked on by the Betta.