I did when I was younger. I started around middle school and the worst of it ended a little after high school. I bit my nails too, but mostly the skin around it. It was definitely some kind of coping thing I did when I was stressed or anxious, but it got
really bad. I couldn't have a nail clipper in the room or I'd be tempted to chip away at my skin with it. It made me have really low self esteem and I would always hide my fingers in my sleeves because they were all puffy and weird. I started to make a conscious effort to stop around my last year of high school because I knew I'd just suffer through college if I was constantly aware of my hands. I didn't use any of those nasty tasting liquids you paint on your nails. I basically started getting my nails done at the salon regularly with my mom at her suggestion. Something about putting money into fixing my habit somehow guilt tripped me into not biting it. Part of me didn't want to let my mom and my nail stylist down (who was my mom's friend). I'd feel too ashamed if I ruined her work (yes I know I should be doing it for myself, not for others but yeah). I know a lot of people's addictions with nail biting isn't as simple as that, but that's what worked for me. Guilt.

I did bite my fingers a bit in college but it was never as bad as before. Once I got to a point where my hands looked normal, something clicked inside me where I wanted to keep it that way and not go through that again.