Generally it's not a good idea, just because different mf's make their RAM in slightly different ways.
However, there's no major technical reasons why you can't. Just make sure you have the same speeds, same voltages, etc. As long as the RAM chip specs are all the same, you're fine. (That's not a guarantee, but it's the best you'll get when mixing brands.)