If you mean RFC7377, that is not supported. ref. https://www.imapwiki.org/SpecsDoes Dovecot presently support the MULTISEARCH command, or are there plans to do so?
I would suggest evaluating if searching a single virtual folder could work for your use case. ref. https://doc.dovecot.org/configuration_manual/virtual_plugin/
br,
---
Daniel