Some people have done it successfully but I have also heard of those that have had their betta kill a shrimp. Bettas can be tempermental so it's hard to tell. I would think that the more plants or hiding places you have, the more likely it is to work.