Well, I bite myself. I also mess up my hands just by letting them get chapped and refusing to use lotion. Have you tried putting lots of lotion on? Then your knuckles would taste bad, which could be a deterrent to biting them. Someone told me to slather on lots of Neutragena Norwegian Formula hand cream, and put on disposible gloves, and sleep that way.
The other thing is, if you need something like this (or substances), then you are lacking healthy coping methods. I highly recommend going to therapy to work on coping and stress management.
And welcome to PC!

Rap
__________________
“We should always pray for help, but we should always listen for inspiration and impression to proceed in ways different from those we may have thought of.”
– John H. Groberg