I repotted my Bonsais in one shared pot, they are from different types. Is that a problem?

Sorry for the newbie question.