That's now a reality for City of Bayswater residents who will be able to do just that thanks to a new 'Edible Pocket Garden' policy which was recently passed by Council.
With a simple approval process, the small edible gardens will give local residents the chance to use parks in their vicinity to plant fruit and vegetables then share the proceeds of their garden with other residents.
Deputy Mayor Chris Cornish said the edible pockets were an extension of the popular verge gardens which had been popping up around Baysie since red tape was lifted around the processes last year.
"These edible pocket gardens encourage the greening of our Garden City and also promote sustainability," Cr Cornish said.
"This new policy is aimed at supporting residents to utilise a portion of their local park to grow fruit and vegetables.
"It enables them to make more productive use of their local parks and reserves.
"The aim of these gardens is for edible produce to be grown and shared amongst local residents, which fosters a greater sense of community and also encourages more gardens to be grown in our City."
The City's annual sustainability education programs such as 'Switch your Thinking' and Great Gardens Workshops include themes to support edible gardening.
The edible gardens will not be fenced off, as opposed to Community Gardens, so that the public can access the space.