User Authentication with Duration

Good day everyone, and hope you all doing well. I would like to ask or inquire if it is possible or doable that firezone have a feature like this:

Username:
Password:
Duration:

I am very aware how difficult it is to setup given how wireguard is but I am hoping someone could answer me.

Thank you very much.