City specialization is good, but you can't really do it with food, at least not when it's handled MoM style : you can generate the food for the unit upkeep in any city, but the each city has to provide its own food, so every city needs a significant amount of farming.

If food is handled in a more MoO2 way, then yes, specializing for food makes more sense.