Thi8s sort of thing often can be done, but not, as has been said, with official packages.You would have to download the source code, and build it to reside in a different place. Some idea of the suffering involved can be gathered from
Now linux from scratch uses different places for things often - /usr/X11R6/lib instead of /usr/lib/X11 for example. It uses patches that might throw the build because of this. No we will not babysit this. If you decide to have a go, I would suggest a long read of
./configure --help with each package, and then
./configure --prefix=/usr/local or somewhere other that /opt where kde normally resides. It is much simpler to remove and replace, and just spend 3 days tidying up after that. But you seem ready for suffering. Me - I stay with a low cholesterol window manager like xfce
If you really enjoy suffering, there's an unstable book for LFS as well, using later versions with instructions that might work.