Not typically a wise choice. There are illnesses to which one is susceptible that the other can carry, and vice verse. They also have different diet requirements, although they are similar in nature. If you want to have both pets, I would strongly advise to house separately, and maybe allow them to play together if they want. But keeping them in the same enclosure is just asking for trouble.