We went Dubrovnik - Mostar - Hvar in October.
I think In terms of distances it’s pretty similar Dubrovnik or Split.
From Dubrovnik we decided to take “the scenic route” which google recommended which turned out to be basically a golf cart path up through a burnt out mountain and through the most random border crossing in the middle of a forest lol.. we then drove for almost an hour on a road which had land mine signs on either side until we reached somthing that resembled a highway lol..
The major roads are fine.. occasionally we came across some random police checkpoints but we were always just waved through.
While it’s not a large distance, I think you’d enjoy it more driving, staying a night, and casually driving on. Very nice accommodations are very cheap there. We stayed 2 nights 3 days but kind of ran out of things to see by the 2nd day. We didn’t really feel like driving around outside the old town but it was nice to see.