Possible to automate app security login (turn on/off fingerprint/PIN/password)?

Is it possible to automate the security requirement within the Android app? The app has inputs for internal and external access, so I’m curious whether those (or other triggers) could be used to automate the security requirement. For example: when my phone is connected to my home wifi (or internal address, or any other trigger), turn off the security requirement when using the app, i.e. the fingerprint/password/PIN code is not required to open the app.

Is this possible? Has anyone done this?

check github there may already be an existing feature request for this

Indeed there is: Lock app function only when not at home · Issue #840 · home-assistant/android · GitHub