I am wondering if there is a way to define parametrized method in MIDL runtime class
Please refer github readme Type System Specification - Methods. Methods may not be parameterized. And this Type System Specification - Runtime Classes said Runtime classes cannot be parameterized.
Only interfaces and delegates may be parameterized. There is no syntax for defining a custom parameterized interface or delegate. All you can do is specialize an existing parameterized interface or delegate.