Can I edit tempo of pre-recorded audio via tempo map?

Do you do that with pre-recorded audio, or MIDI? I’m trying to do it with audio, so that it would actually time-stretch the audio.