Generate_form_field filter

Hi

is it possible to add a filter to a “generate_form_field(…” in order to select from the lists for example only who contains “aa_ *” in the id?

Thanks