There will be a few that can write better prompts than others - based on your confidence I'm quite certain professors all across the world have already highly graded AI papers, while worrying about that very problem coming and failing others for it.
Alternative systems (which have existed before LLMs) include at-home work being required to earn a seat at the exam, but marked for feedback only, with the exam being the assessment graded for credit.