No. It's a consequence of marriage, a byproduct of marriage, but not the purpose of it.
But a known consequence, therefore it could be a purpose, especially when continuing the estate obviously implies coherent children.