Create a vamp for musical theatre songs

I work in the Broadway genre and need to create vamps (repeating measures) quite frequently, sometimes several through out the song and then be able to exit the vamp either after a set number of repeats or be able to exit the vamp via a midi command/controller. Is this possible in Cubase? VST Live does not have this option.

The Arranger track can do that.