Lots of products for that now, also working on the cuticles.
A more permanent solution, when you use your teeth to nibble, is to ask your dentist to make your front teeth a little thicker. My front teeth’s edges were so thin they were translucent, and very sharp, excellent tools for the precision work of biting nails and cuticles. I asked my dentist to fill the teeth at the back with a little of that white filling material. Cost very little and I can’t use my teeth anymore.
Also a solution: gel nail polish. Salons apply this for you, it hardens under UV light. Gel polish ia a VERY strong kind of nail polish, much stronger then an applied acrylic nail. It can’t elongate your nails, but the translucent kind of gel can grow out without it being noticable, so you can go for two months without an redo. it is the best way I found to make nailbiting impossible.