Yes, on average
A 2014 PNAS study by Domingue and colleagues compared the genomes of married couples and found they were more genetically similar than random pairs from the same population โ though far less similar than they were in education. People tend to choose partners who resemble them even below the level of conscious preference.