Em dashes are commonly used to add emphasis, even where you would ordinarily use a comma. Their flexibility is why many people love them! See https://www.merriam-webster.com/grammar/em-dash-en-dash-how-...
It's fine in the sense that when a bad writer writes something I can usually understand what they're trying to say.