It's possible, but first you'd have to disable the player's default movement. Then you'd just have to set their animation to the walking gani when they attempt to walk/change directions, etc. Instead of the player automatically swimming, they'd walk.
I'd say the hardest part about coding that NPC would be programming the parts of it where the player wouldn't be able to walk.