Hi,
It's possible un user with role Teacher in a Topic 1 and Student in a Topic 2, in the same course?
Moodle 3.6
What you can do is assign a user the role of teacher in all activities in topic 1 and assign them the role of student in all activities in topic 2.