My understanding is that that interpretation is an urban legend.
Wikipedia attributes the joke to an 1847 article, which is phrased in a way that clearly isn't intended to have some deeper meaning: https://en.wikipedia.org/wiki/Why_did_the_chicken_cross_the_...