Custom properties in material nodes

I’ve been trying to find info about this, but have not found specific info for this.

I have lot of objects assigned with different custom property values. I need to color the objects along color ramp with those custom property values. Is it possible?