API call from UFM filter/component

Is it possible to call a Management API controller from within an Umbraco Flavoured Markdown filter or component?

I need to pass a value from block template label, do a lookup via API call, and return a new value.

If anyones got any advice or examples that would be awesome!