At the moment it's not possible, but we though about it already, although I don't think we created an issue for it... I'll create one a bit later
Basically, the idea is to have the playground runner be an opt-in feature rather than the default behaviour. And instead, the default could be to just render the sample code as a code block, pretty much embedding the function body into the documentation
Right now, if someone really wanted, I think they could spin up their own instance of the Kotlin playground, with all the needed dependencies and so on, so the feature is still useful outside of the standard library