There are plenty of OCR text scanning apps if you search for them on the Google Play store. There's just no easy way to get scanned text into MacroDroid variable.
It is possible with TouchTask Plugin, just select OCR, specify the image and the variable and it should work.
However, the accuracy may not be very high.