I think it can be done. However, Fluker makes a product that consists of a substrate on which you grow oat grass [same stuff they sell for cats to eat]. I tried some of this and was impressed with the growth of the grass if not the actually appearance of the little turf substrate stuff the grass was intended to grow on. Anyway, I tried this in an enclosure with lizards who eventually trampled the stuff flat. Also, my light intensity wasn't high enough and what wasn't trampled died pretty soon after. All together it only last a few weeks. I think ornamental grasses like Mondo grass can be used as well as other low-growing varieties that you can buy at garden centers. I've grown Mondo grass in a Ball Python enclosure in the past as well, but again light intensity was an issue and the grass being trampled. What I haven't experimented with yet is actually transplanting a tuft of hardy grass like Crab grass into an enclosure. I think a grass species that grows fairly thick and close together might do okay if you could have high enough light intensity.
-----
Matt Campbell
25 years herp keeping experience
Full-time zookeeper
Personal collection - 21 snakes (9 genera), 20 lizards (4 genera), 6 chelonians (2 genera)