Of course, ChatGPT could easily be used for plagiarism, even more so than in your first language: Wooden-sounding essays of mediocre ideas are already the norm for foreign language essays, so ChatGPT output won't stand out as much (except for the flawless grammar).