Restricting simultaneous logins with internal authentication

Hi, is it possible to restrict simultaneous logins with same user account on Self hosted server using internal authentication?

E.g When one user lets say (Demo) login into the server another user with same User (Demo) should not be authenticated till this existing user is disconnected / meeting is terminated.