Well I think it is still environmental freindly as there is what they say “economy of scale” factor like if you bring raw chick peas and cook it for a long time, the one in the tin pack would have used less energy.
But then packing itself is enviroment hazard as it increses the amount of rubbish in the world.