Bosnia is not in the EU, and an EU SIM charges its non-EU rate.
Roam-like-at-home stops at the Croatian border, and the drive from Split or Dubrovnik to Mostar crosses it. A package that covers both sides of the line is the simple answer; the Balkans plan and the Europe plan both do, and both carry on into Montenegro and Serbia.

