It depends on what type of memory--for ddr2 and ddr3, this works extremely well, and hence 'kits' were more of a way to simply have 2x identical modules, but it wasn't necessary.
But today's ddr4 seems quite tempermental and I wouldn't try it except with ecc registered modules as it seems they have been made to still work together in a mixed fashion without drama.