I don’t know Google Play Store rules, but I’m not sure that embedding the compiler (which is required for kotlin scripting) will make it any more valid than the solution you have now.
But I’ve got your point, we will investigate it further. But to increase the perception of importance for us, please vote for the issue above, and maybe even share your use case there.