Is it possible to automate iPhone passcode?

I have this app which needs passcode /Face id to enter in to it.
Is it possible to automate this scenario?
Passcode or
Face id?
Can any one please tell me the step?

Biometrics automation is only available for Simulator.