While I'm no expert on Indian economics, I don't think there'd be the market for such a thing in India. People take the train in part because it is very cheap, and compartments with private facilities would likely not be used by natives. For foreigners, these facilities already exist on the sightseeing trains previously mentioned and flying is cheap, so it wouldn't be worth it to add them to "normal" trains.