For example, this reddit post's title seems like it might be a run-on sentence, or at least have too much punctuation breaking it apart.
The sentence is:
For the first time, ants have been seen self-medicating - on food rich in hydrogen peroxide - to fight off fungal infection.
My sense is that the proper way to write it is to remove all the punctuation cruft:
For the first time ants have been seen self-medicating on food rich in hydrogen peroxide to fight off fungal infection.
I'm afraid that it would be considered a run-on sentence. However, if I rewrite it as multiple sentences it seems needlessly long:
For the first time ants have been seen self-medicating. They eat food rich in hydrogen peroxide to fight off fungal infection.
Is there a rule to determine whether a sentence like this is grammatically correct, or is it a stylistic (i.e., opinion-based) issue?