You can ‘adopt’ villagers from other people by going to that person’s town and talking to the villager while they’re getting ready to leave (or ‘in boxes’ as it’s often called).
Then that villager will move into your town the next day.
People sell, trade, and give away their villagers here