I would be most hesitant about T. elegans in particular.

I'd keep them separate if you're at all concerned about it. I keep & feed some adults kept together with large size differences, but they're adults, younger ones I try to keep similar sizes together to lessen the risks.