Yes, you can import profile pictures using Entra ID (formerly Active Directory).
You will need to ensure that the photo option is ticked to enable synchronisation. The option can be found under Site Settings within Entra ID's synchronisation settings.