Honestly, a lot of behaviors like tail-biting and such in dogs (not puppies), cats, and (I think I've heard of) bettas, as well as many other animals is due to lack of enrichment in the environment. It kinda makes sense. He's bored and this is the only vaguely entertaining thing to do.
My arowana used to do it back when he was in a smaller tank and he killed all his tankmates, but once we scaled up and got him some livelier, larger tankmates, this behavior went away.
I don't think it's terribly surprising. Talk to any zookeepers, and that's their worst fear - an animal that picks on itself, often plucking feathers, hair/fur, biting nails or fingers, etc. Most of the time it goes away with more engagement.
More tank decor, driftwood, plastic or live plants, tank mates, different foods (live insects every so often seem extremely "fun" for them) are all things to incorporate.