Yes you can do this if you are on the Standard plan or greater as a part of TalkJS Themes. To enable this first go to your dashboard and find the role (formerly called configuration) heading.

[caption id="attachment_2464" align="alignnone" width="1272"]

Note: Configurations are now called 'Roles'[/caption]

 

Then either select a current role or make a new one. When a role has been selected scroll down until you reach the themes heading, there you should see the option to enable avatars next to messages, as shown below:

 

You’ve successfully subscribed to TalkJS
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Your link has expired
Success! Check your email for magic link to sign-in.