You will face a difficulty after uploading the preprint of a paper. After actual publication of the paper there is no option in RG to replace the preprint with the final printed version.
DOI is just a link. Some people have link of papers to their fttp server. So its not a big deal. The value is not of the DOI but the article. Secondly, you should also make sure if you have authority to put an article on your public profile? if ok then RG DOI is perfectly ok.
Dr. Subir sir, you are wrong. After actual publication of the paper THERE SURELY IS option in RG to replace the preprint with the final printed version. I did two of my latest publications from Botanical Journal of Linnean Society yesterday only. You need to remove the pdf and add new pdf. Very simple!!