Yes, a child born out of wedlock can inherit from their father if paternity is established. The child has the same inheritance rights as any child born within a marriage.