2023 Hyundai Elantra Hybrid intermittent CEL with Pending Code

Getting intermittent CEL while driving on high way (twice so far), with the engine shaking and hesitating during highway acceleration/merging. Scanned using an OBD scanner and found P0301 - cylinder 1 misfire as a pending code.

Took the car to the dealership to get it checked. They swapped the spark plug and ignition coil between cylinder 1 & 3. After clearing the code and driving again, the pending misfire code (P0301) returned and the root cause is yet to be identified.

Is it safe to continue driving the car with a recurring pending code ? Also, is it common for a newer car to have a misfire code ? Looking for advice or similar experiences from others.