Someone really should just make a farm script that lets nthe user say how many farms they want to use per village and have it just select the closest barbs until enough are found. Also, no overlapping of farms between villages..
BA's does part of this, but often it does find any farms for some villages..
It's possible, but I don't think it would be very efficient, given that if one farming village was surrounded by others, that central village would have no villages closer to it than the surrounding villages. you would then need to go further and further out to find farms for that village, which might leave you farming hours and hours away to the point where farming for that village becomes near useless, just for the benefit of being able to choose how many farms you choose.
The zomgtw farm settings allow you to set a priority, where if you find that one village is getting too few farms, you can increase its "priority" to assign more farms to that farming village.
I'll look into doing it by farm numbers, but it won't be as efficient as assigning by radius (which is why I figure it's not really being done already), but if it can be done so that your farming efficiency won't suffer too much, I'll try to find a way.
I've toyed with this in the past, but never got to a point where there was a solution that was acceptable to me, in terms of efficiency (though admittedly I didn't toy with it for very long). It'll probably also need to have a radius limit, otherwise we're looking at a long processing time.
@ Arachnella: sounds like it won't be too difficult to implement