Multi product with single strapi instance

can I implement this middleware in bff layer?