Conditional UI design on Record pages

It would be cool to be able to customise the record layout/page and hide/show sections in the sidebar area based on a set of conditions.

I.e. if attribute value contains X or record reference is = Y then hide/show a specific section.

In our scenario we would do it so that if the customer has a deal in X stage, then show this section on their contact record page.