You can add attributes at runtime with the action "System" -> "Add/ Remove attributes from object". Be advised that trying to remove an attribute with that action does nothing as it is not implemented. Another idea if you use sprite objects is you can enable\disable collisions with the "set collision mode" action.