No. They went to the place of their family name. Joseph was from the line of David so he took his family to the city of David, Bethlehem of Judea.
The census was for tax purposes. Making people move away from where they make a living makes no sense in that context.