Yes, but changing users is a function of the shell (or maybe more specifically /usr/bin/login), not the SSH daemon.