Mimosa pudica can certainly thrive in a terrarium. Since Mimosa pudica generally attaches importance to high humidity and cannot tolerate temperature fluctuations too well, keeping them in a terrarium can be a very good decision.