APOC Graph Grouping - advanced operations

I was reading about https://neo4j-contrib.github.io/neo4j-apoc-procedures/3.5/virtual/graph-grouping/#_grouping_operators

Is there a way to go beyond the defined min, max, etc... operations and maybe combine these to derive the value of an attribute?

I want to get the minimum value of an attribute after it being multiplied by another value in different attribute. How do I define this scenario into the syntax?