Is it possible to get Related Products but from a different category (different collection)?

I have used Algolia Recommend for getting the “Related products” for a product, and everything is ok.
But now I need to specify the results and get related products from a different category.

So my question is ti possible to do that in Algolia or not?