Autocast with apply

I looked at my question at another way, and the thing I want is not possible.
My question was if the its in the following example could be the same…

infix fun A.doAction(action: Action) {
    if(this is B) {
       this.also{ it -> }
       also{ it -> }
    }
}

But, I now have the answer: no, because it changes backwards-compatibility.
Sorry for taking your time…