Retrospective Looping

Is there a possibility for retrospective looping. As in,
noodle, jam eff around
then Capture this predetermined length of audio?