Use BTT for change keyboard for already entered text

I have an Idea to replace one old application with BTT Punto Switcher
and if someone already did it I would ask for some advise and help

the main idea is to replace every character in the clipboard with character from different keyboard layout but for the same physical key. «ghbdtn» -> «привет», «пщщв ьщктштп» -> «good morning».