Two yuccas in one pot
I have 2 yucca plants of different ages. Can they share one container?
Yes, as long as the pot is big enough to accomodate two plants and their root systems.
I don't know which species of yucca you have, but you should consider the form of the mature plants and how they will look together in a couple of years, crowded or not.