If Student entity is a specialized entity of Account, then it is specialized entity of System.User too.
In that case, you can simply set the association of the User role in the Student create microflow or save microflow.
First you must retrieve the user role by the namespace. Then you can set the association.
In the image below, I have used the name space as UserRole_Employee, you must use yours.