2002 Santa Fe Hyundai

can engine be damaged if spark plugs need replacing?  can damaged spark plugs cause idling and rough ride?
engine light is on and car is idling louder and faster; driving seems to be heavier. What is wrong? — appointment scheduled with mechanic, in the interim is it safe to drive