No. The traditional rhyme never states Humpty Dumpty is an egg:
Humpty Dumpty sat on a wall,
Humpty Dumpty had a great fall.
All the King's horses and all the King's men
Couldn't put Humpty together again.
The egg interpretation is a later cultural addition, not in the original text.