Yep, it’s possible according to Kotlin’s documentation on the Dsl Marker Annotation:
Note that it’s still possible to call the members of the outer receiver, but to do that you have to specify this receiver explicitly:
html { head { this@html.head { } // possible } // ... }