The Short Version
The evidence does not support this claim. In Andersen’s story, the “ugly duckling” grows up to be a swan, and standard definitions distinguish a duckling from a young swan. Calling the adult bird a duck relies on an incorrect category shift from “duck” to “any related waterfowl.”