Matching argument and map key in function parameters

It’s currently impossible to match on “variable” map keys when passed as function arguments, yes.
It is possible to match on map values for predefined keys

def f(%{a: a}, %{a: a}), do: true
def f(_m1, _m2), do: false