The Productions of Time is a science fiction novel by English writer John Brunner, first published in The Magazine of Fantasy and Science Fiction in 1966.
Each of the cast members has had career problems because of drugs, alcohol, or other kinks.
The play is an avant-garde one, a form of improv where the actors make up the script during rehearsal, and rehearsals take place in an isolated country house.
It emerges that the alleged playwright is feeding each participant's vices, using a futuristic form of sleep learning to overcome their attempts to stay "clean".
This is being done to benefit the prurient interests of decadent time travellers.