There are plenty of scripts to address this issue when the management account is not enabled for FV2.
Many of our Macs were FV2-encrypted before we got Jamf. And my predecessor made sure to enable his local admin account for FV2 on those Macs, so he could log into them locally.
Now all our Macs are enrolled in Jamf, and we have admin access to FileVault, but the FV2 recovery key isn't escrowed.
It should be possible to fix this without user interaction. If I were sitting in front of one of these Macs, I'd use:
fdesetup changerecovery -personal
sudo jamf recon
In fact, for the machines that are on my LAN, I've just connected over SSH and run those commands. (The first command prompts for a password, so the script will have to listen for the prompt and respond. And I should probably encrypt the password to prevent any users from intercepting it.)
Is there a script that already does this? Again, I'm looking for a script that does NOT require user interaction. Users hate to see things pop up on their desktops.