Is there anyway to program laps in the iPod so one can run at different paces?

In some trainings one wants to run half speed throughout 30 seconds, walk 30 seconds, full speed, 30 seconds and again walk 30 seconds and repeat the sequence. Is there anyway to program such a routine?