I don't bite mine so I don't have that problem, but there is this one tool that goes to my school who wears fake fingernails on his picking hand, you could try that
you should just wear gloves to bed and let your nails grow out
Alas Gandalf lives, Middle Earth is again safe...