How deep are you planning to bury the bonsai's roots in the vivarium? I don't know how big your snake is but anything approaching 500 grams would probably be strong enough to knock it over until and unless the plant had a serious root system established.