Moving the Temp folder within an Application Environment to RAM

I am running Flatpack Bottles on a Linux system, and would like to use Bottles to run BCArchive, which is a utility for creating encrypted archives. At the end of archive creation, BCArchive insists on securely overwriting C:\Users[user]\AppData\Local\Temp, which is not good for solid state drives.

To avoid unnecessary wear on my SSD, I would like to place this temp folder in RAM, but from what I have been able to find, in Windows this requires the use of third-party software.

If I run such a third-party program in a Bottles Application Environment and then set the Windows Temp variable to the RAM Disk, will this be a permanent and global (available to other programs) change?

(Also, I mount my Linux /tmp in RAM (tmpfs) using Fstab, but this does not appear to be relevant to a sandboxed Bottles environment.)

Thank you.