Not currently through the GraphQL APIs unfortunately. It’s something we want to add support for in the future though. (CC @avi for the feature request).
In the meantime, one possible workaround is that the Postgres database that backs ComposeDB has the full content of every document in a JSONB column, so you could connect to that postgres database directly and query custom fields with a JSONB index on the data.