Technically this should be possible. You could look at implementing it as a Scanner interface so that it functioned very similar to the current camera scanner or as an individual field to perform the same function within a transaction.
The key step will be finding an appropriate OCR library that will be able to interpet the image and return out the value. Even with the included barcode camera scanning a third party library is used to process the image and decode the barcode based on the image.
--Bill