Combining analog input

If each LED requires 20mA then you are asking those anode pins to supply 200mA. So yes this will do harm seeing as 40mA is the absolute limit.