It's not simply the improvised thrown weapon bit, it's the whole silliness about lining up a zillion peasants and screwing around with the initiative rules and action economy to achieve nonsense.
Peasant Railgun is on my Top 10 List of Rules Bendings That Is Not Allowed.
Though seriously, no DM in their right mind would likely allow such a ... creative interpretation of the rules in the first place.