On Android that was possible for a while, but if it is finally possible on iOS 11.
Note that some passports, like US, needs to be open for NFC chip to be read. Also, to read the data on passport's chip you need to provide input information found in MRZ zone.