If that's your worst habit, you're not doing so badly ! There are waaay worse things you could do 😁
Have you tried wearing gloves ? Even with lightweight cotton or lace ones, having to take them off to bite your nails might make you stop and think to break the unconscious move.