Is it okay, sure it's okay. You can make any combinations you want. It's just there are no guarantees they will work together, and no guarantees how they will work if the PC boots up.
Memory is guaranteed in the form sold. Buying a kit of two modules is a common practice.