Yes, you can.
Navigate to the files details page and on the top right you can find Replace file icon.

You will be prompted to select a new file with which you will replace the old one. Keep in mind that the new file must have the same extension as the original.
