Possibly mark out narrow routes from each tee to the relevant hole, with al the rst of the golf courses given over to allottments? The only golfers allowed to play would have to be those who had earned certificates to prove that their aim is good enough to keep the ball within that narrow corridor, and not let it stray into the spuds and carrots on either side.
Even restricting play to certificate bearers, the allottment holders might have to wear crash helmets. As they would be cycling to and from their patch (no petrol!) they could keep on their cycling helmets.
How healthy they would be! Cycling, gardening, eating home-grown veg, dodging golf balls, chasing incompetent golfers with hoes and rakes . . .