No, I have had three before. I kept them in my 38 gallon community tank with small tropicals. One of them lived to be quite old, and I was very attached to him. I lost my first betta by not sealing up every little crack and he jumped out. I now know better

I haven't had one for a couple of years now.
I am going to use my little 5.5 tank that I used as a hospital/quarantine tank for my tropicals for the betta. I set up a 10 gallon qt tank for the goldfish.
So, I now have a new betta.