I suspect processed foods are not harmful
There are countless credible scientific studies that suggest otherwise. They're not even hard to find. Not all processed foods are bad. Some processing techniques like pasteurization are demonstrably beneficial. But there is plenty of evidence to suggest that moderation should be exercised in their use.
A raw food diet is a lot likely to be less optimal
It's not about raw foods. It's about what is done to the foods. Processed foods purchased from a store tend to have high amounts of sugar, salt, fat, preservatives, additives and other ingredients to make them more appealing and/or have longer shelf life. Some processing is fine and even necessary. But it's really easy to eat a very poor diet if you aren't careful with processed foods.
If you cook from fresh ingredients, guess what you're still eating processed food.
You are not necessarily however eating preservatives, ingredients of substandard quality, chemicals with unpronounceable names, excessive amounts of sugar, salt, fat and other needless additives.