Possibly, but not necessarily. You might want to lead with your value before price, especially in an industry where it's difficult to see at first look what the differentiators are. Alternatively, public pricing could start price wars, leading both companies to unsustainable pricing. Or maybe you want to be able to give strategic customers specific discounts. These aren't pricing strategies to make sure your customers get the best price possible -- they are designed to allow me, as the creator of some value, better control over how that value is perceived and deployed.
For a business, you want to build relationships, not just have transactional customers. The more custom or integrated your solution is, the more important this is. (Also, it's the best way to make sure your customers are deriving the most value from your product, which is a win-win.)
Yes, competitors can do that, but that additional friction means they won't stay up to date, and you have a chance to discover what's going on.