Sure this is a reasonable request? Which of the links should persist - the old one or the new one? Are you aware that overwriting the old value may destroy valuable information?
Read man ln for info on the -b , --backup , and -f options.
I thought that the -p flag of mkdir was to make up any required paths, so if you issue mkdir /a/b/c/d and only /a/b exist, /a/b/c will be created for you.
My testing seems to suggest your way will still fail:-