Chat for certain users only

¿Is possible to limit the access to the chat to only certain users?

thanks in advance