Slate is just carbon and completely inert or harmless. There is no lead in them anymore. More important to determine is if there is any underlying cause for your compulsion to eat pencils.
I suggest you get a good physical exam by your doctor and blood tests to determine if you have some nutritional deficiency
such as anemia