Hello,
I think that for the moment it's not possible to do this in Proxmox during the creation of the token.
You can check the lifetime of your token in the /etc/pve/user.cfg or via the API and make a script executed with a cron that can remove the token if his lifetime is too high.
Or you can create a script using the Proxmox api to generate your Api token that can respect your lifetime policy.