A nutritionally complete, balanced diet is what they need. Free ranging adds a big, unknowable variable which can help to address imbalance (or be the cause of it) depending upon what they are free ranging on. The more diverse the pasture, the better.
That said, the rest of your management practice has the potential to be treat heavy and imbalanced, depending on how much is being offered with that frequency. I don't have concerns with your making the layer feed available 24/7 - apart from CornishX which are famed for a willingness to lay at the feeder and attempt to eat themselves to death, most breeds don't have a reputation for gorging till they pop. Chickens are like precocious children, refusing to eat their vegetables when dessert is equally available. Meal worms are high protein - that's a good thing. But they are also high fat. Corn is high carb filler, used to reduce feed costs. Fruits/veggies vary by fruit and veggie. Treats (including scratch) should not exceed 10% of the diet, by weight, daily.
In my biodiverse polycultural pasture of several acres, I still have to watch the birds as some things come into season (like the currently ripening wild muscadine grapes) so they don't gorge themselves to excess on those fruits, coming on the back of the wild blackberries being in season. Likely, I'm going to have to remove some more mature plants to reduce availability.
Yes, its hard to be the responsible one. My chickens have trained me to throw Scratch to get them out of the barn - so of course every time I go into the barn, they race in after me - knowing what's next. I've had to reduce the size of the cup I use to throw scratch to my 50+ poultry.
My birds free range all day - began about an hour ago - and I feed them only once daily, in the evenings, so they come back to the runs and houses to sleep overnight. That ensures they sleep with a full crop, gives me an opportunity to do a head count (if desired), watch behaviors, and of course encourages them to sleep in a place of greater safety. By morning, they are eager to free range, knowing there will be no "free meal" for many hours. By watching their evening feed consumption (it has to be adjusted roughly seasonally) I get some feel for how effectively the pasture is providing for their needs.
Management practices differ - there's no "one right way", though there are plenty of wrong ones - and no matter what method you choose, its important to watch the flock for behavior changes. It usually the first indicator that something may be wrong.
/edited for tone - I'm not the best of humans at any time, but tend toward curt pre-caffeine.