MQL supports DLL's so most things are possible. IIRC there was a semi-commercial app developed for the betfair API (the developer was asking a few euro just to filter out the scum, I think there might possibly be a thread on this on there forums although I suspect it died a death through lack of interest)