yes, you can and you should (each node should have its own pega temp directory). You can do it in setDomain.sh (.cmd) as described here: https://pdn.pega.com/documents/pega-72-platform-installation-guide-webl…. The only thing is that you need specify -Dpega.tmpdir dynamically based on the server name (the Weblogic script has plenty of examples) instead of a constant as in the document.
The process describes setting explicit Pega temp directory, which would be at a specific location on the filesystem (as specified in the setDomain.sh file). How could have separate explicit Pega temp directories for all the nodes in the application server (weblogic).
my answer has already included what you want. Work with your weblogic admin on how to specify a directory dynamically based on individual server name, which is normally a variable in weblogic startup script.