Home abortion

I know this sounds terrible and I hope you all have the decency to understand. I've been thinking, and I know you can have a miscarriage due to the food you've eaten such as parsley, raw or undercooked meats, some seafoods, pineapple and a few other fruits. If you got pregnant and didn't want a child could you just eat these foods and have a miscarriage? Do you think it may work? 
Just a thought ladies!