SOP distortion. rash question

I am trying to find a way to distort (Keystone) any SOP, without rendering it with TOP.
How i can do this? E.g I have switch SOP to switching geometry, and then I want to stone this “switcher”? All this incoming geometry, like when you mapping something.
Looking for any suggestion, or .toe example because can’t understand how to do this.
Will be very helpful.
thanx