Yes. You can change the duration of the text by dragging the ends of the text layer in the timeline. You can also set the duration in the edit options.