A former private school pupil has become the first person in his state to admit creating sexually explicit deepfakes.