Can CMake patch RPATH in existing binaries?

CMake can patch RPATH within install(TARGETS ...). Can we also do this manually like:

set_rpath("" "\$ORIGIN")

Reason: I want to patch libs that are IMPORTED. I cannot install them.

PS: I have found internal commands, but there is no documentation so I do not really know how to do it:

The best you can do is install them and, as part of the install (install(CODE) or install(SCRIPT)), use a tool like patchelf or chrpath to edit the installed copy as needed. If you need the dependency itself to be fixed, please contact upstream or the vendor that built that copy.