Is it wrong to handle a baby this way?

Judah • He/him

I myself do this, so i really would like to know your opinions. If your baby is laying in the bed or in the couch next to you, is it wrong or harmful to drag him closer by the ankle instead of picking him up and doing so? If its hurting him I would stop but he doesnt seem to mind. He weighs 13+ lbs.