Is it possible (if so how) to use Conditional formatting on objects such as lines and rectangles drawn on the page?

I would like to set the color of an object based on a value in a cell. Am I dreaming?