IMO no. I've owned and played many 5ers and there is a genuine difference from bass to bass.
I used to own a very expensive bass with a weak B string and tried every possible gague and had many trips to the maker and couldn't resolve it. It was simply a lot quiter than the e, a, d & g.
It's further complicated by being much less apparent at practice levels than at giging volume.
Scale length and to a lesser degree gauge makes a difference but my current bass is 34" and has a great B. I think a big part of it is the construction of the neck.
IME Its always work experimenting with strings but some basses just have weaker B strings.