You might get some ideas from ChatGPT, but for any non-trivial code it’s unlikely to give Kotlin code that compiles, let alone does what you want it to do.
GPTs have no real understanding of what they output — they’re merely designed to produce text that looks plausible. And while for natural language it’s sometimes not so easy to tell the difference, for source code it tends to be more obvious!