using add_filter in a template_redirect function?

using add_filter in a template_redirect function?