Disabling block with physical components

Is there a way to enable or disable blocks containing physical components?