I will note that something I thought about after posting this question was that, if we had such a function, it may bloat the DAM with tons of files instead of replacing the same one, so may not be a desired solution anyway.
I have a situation where there is an image uploaded to a page with the cq/gui/components/authoring/dialog/fileupload component using the uploadUrl property = ${suffix.path}. This image gets cached (based on our dispatcher rules) for 2 hours, which is fine. However, when the image gets swapped out fo...