Yes, but we also have to take into consideration that Joseph was Christ's adoptive father and had no part in the seed line that Christ came through umbilical cord to umbilical cord. Luke 3:23-38 (KJV) gives us the seed line of Christ back through Nathan, King David's other son. In Matthew 1:1-16, we see that there is a common generational link between Joseph and Mary because Joseph came through the seed line of Solomon, Nathan's brother.
We must also study a bit more about Mary's Father AND Mother. In Luke 3:23, the translation is "As Was Supposed" - which in our modern language means, 'son-in-law'. Joseph was the son-in-law of Heli. Heli was Mary's father.
Remember Elizabeth, the mother of John the Baptist? Well, Elizabeth was Mary's cousin - Luke 1:36 (KJV) - on Mary's mother's side. Elizabeth and her family were Levites of the Priest line, while Mary's seed line was back through David as well as the Levitical lines. So, Christ was well pedigreed on that side of the family. God was the King of all men and Mary's family was of both the King line and the Priest line, making Christ once and for all time, the King of Kings and the Lord of Lords.