Of course it's possible.
Just create a new file with a slightly different name each time - if that's what you need.
You could use tempnam(), tmpfile() or some other file naming scheme of your own design.
The directory you create the file in must be writable by the user that the webserver is running as.