In your sprite collection settings, you can add new materials at the bottom. If you want light to respond, make a diffusive material, add it to the collection, then in the collection sprites, select the ones you want to change to diffuse material, change them. commit
Or do you mean dynamically?