Funny enough, the Lieber Code adopted by the Union during the Civil War, dealing with the rules of warfare, DOES actually prohibit the use of poison, so this idea would have been illegal even at the time.
The US Army has an awful lot of dubs during the civil war. A prohibition on chemical warfare wasn’t something I anticipated but I appreciate another W.