I am guessing what you mean to say: "Any newly created VM that also relies on this NFS storage, will have to be added to the script". And my answer will be, yes obviously. I don't find that very difficult as the part for starting that VM will be a one liner. You could also reserve a range of VMIDs (e.g. 500-550), which you wish to have NFS-dependent & have the script try & start that range of VMs, so that any new VM you wish to be NFS-dependent you just choose within that VMID range, & then you don't need to do anything with the script again.
I'm not sure what you mean by this. If I understand you correctly, you have a TrueNAS VM that runs on Proxmox, which also provides an NFS share to the Proxmox storage backend. This TrueNAS VM will have Start at boot
on as it does now in your current setup, so any problem you have with long boot times will not be caused by my suggested script. On the contrary, the script will probably speed up the boot process, as those other VMs that rely on the NFS share will not be trying to start, as above.
Maybe what you meant to say (but did not) is that even with the above script you still have the underlying problem of the Proxmox backend storage not finishing its boot-time setup due to the NFS share from the TrueNAS VM not yet being available. This is a pretty common catch 22 situation, and does not have many practical workarounds. Proxmox servers, being an HV system aren't meant to be rebooted often, so (an extra) 1.5 minutes of boot time is not to be considered lengthy in my books.
You can search this forum & others, for similar catch 22 situations.
Good luck.