Many of my neighbors have front yard gardens, often because depending on the orientation of the house (it's a dense area) the front yard might have the best light.
Nobody complains, and if anything, such gardens are often complimented (often enviously by those of us on the shady side of the street). People here like the look a well tended space.
I'm sure there's some ordinance on the books disallowing it - like most US cities - but nobody would report it anyway, and the city (Oakland CA) has bigger problems to worry about.