In general: absolutely, yes. Showing customers what's next in the product will increase engagement and can connect to leads/prospects for new deals. Showing a roadmap has a use case for both, installed base and sales.
The difficulty is rather how detailed of a roadmap you display and what sort of a commitment you provide on the timeline. This can be difficult and the 'correct' approach is highly dependent on how your customer relations work. B2B is totally different than B2C. Industries differ from each other. Large deals can by highly sensitive to roadmap items because they sometimes even sell on the roadmap.
As a rule of thumb I'd like to recommend: show a roadmap to engage with customers and project a vision, but show as little as possible date/time commitments in order to not dissapoint customers in case of plan changes. This usually works well.