Layers as Custom Property

Can the drawing layers be designated as a custom property?  I would like to be able to turn the layers on or off using the Property Tab builder.

SolidworksDrawings And Detailing