There's no explicit way to do this, but search filters are XML files so you could munge the list of filenames into the filter format I suppose.
You could also, more easily, munge them into a command which selects all of the filenames (lots of Select lines, one for each file) and then run that in flat-mode.
Neither are very good if it's something you want to do regularly, with different lists of names, but if it's a one-off or a fixed list of names then they might do the job.