I've tried real plants. Firstly they just get barged over - the snakes and viv get covered in potting compost and the plants get crushed. Secondly, the plants need UV where Corns don't so you need two sets of plants and you'll have to swap them in and out of the viv.
I'd recommend plastic foliage as an alternative. You can get it from pet shops, or the cheaper option, buy it from hobby stores where it's sold for artificial flower arrangements (check for exposed wire ends and fold them over if necessary). They're pretty cheap, washable/disinfectable and look great!