No, unfortunately not. You're best off making a custom java action with your array as input and return the median. Then call that action from a microflow.
I am not sure, but maybe this module can help you out: https://appstore.home.mendix.com/link/app/112522/