There are pencil toppers, chewy necklaces (or chewlry):
https://funandfunction.com/sensory-play/chewies.html
One thing you need to try and do is substitute the behavior with something not detrimental like you're trying to do with the chewies. You can also think about squeeze balls and other fidgets at home. Praise him for using an appropriate substitute.
Does he have any underlying anxiety or ADHD? My brother with ADHD has chewed his nails forever--even still as an adult.