It’s called “using their own argument against them” and is done by the Left on a daily basis.
When the GOP does it, it’s better called “capitulation”.