EQS How to create custom test to filter actors?

Generally speaking, yes. One thing to remember though is that you should use FEnvQueryInstance::ItemIterator to iterate over items and set scores or test results.