One of the complicating issues in respect to this problem is the issue of timing. Another is the issue of geographical concentration.
The environmental consequences of film and analogue processes are spread out over the life of the process (R & D, manufacture, transport, cold storage, processing, projection/printing) in a different way and at more/different locations than the environmental consequences of digital processes (R & D, manufacture, transport, battery operation, display/printing).
At some points in the process, and at some locations, film and analogue processes may have a more extensive impact. And at other points in the process, and at some locations,digital processes may have a more extensive impact.
We are often more attuned to the impacts that are local (processing) than the impacts that appear more distant (manufacture in another part of the world).
I remember a fair bit of discussion about Kodachrome being less environmentally "friendly" than E6 film, but I expect that opinion was based mostly on looking at the processing part of the equation, where the impact was concentrated in a very few, relatively high volume locations, and involved the effect of the dyes, which with Kodachrome are/were added at time of development, instead of at time of manufacture, which is the case with E6 films.