Like succulents, cacti don't do good in enclosed spaces. You can only add them to a terrarium without a lid or one that provides sufficient airflow.