Just jumping on here as a plant dad to recommend against aloe for a different reason. Aloe is native to desert areas and does NOT tolerate moist soil very well. Same with a lot of succulents. Usually those types of plants need their soil to completely dry out before you re-water them, which wouldn't be happening if you planted them in the substrate of a ball python enclosure where you need to keep things relatively moist. They also have kinda shallow roots, which isn't great given the "bulldozery" nature of ball pythons.
Source: a poor fool who gave his aloe root rot and has accidentally knocked its pot over a few too many times.