There are some great groups in York such as Edible York who map out edibles around the city and you can join in with Abundance York who pick and distribute surplus fruit growing on common land & private gardens. Both links will take you to other fruity projects like Fulford Community Orchard (loads more if these aren’t local to you).
Lots of free treats if you know where to look!
(Thanks to LC for the tip!)