Yes, according to the Vishnu Smriti: Viṣṇu (16.1).—‘On women equal in caste to their husbands, sons are begotten who are equal in caste to their fathers.’