No, variables stored by some chaincode (A) can only be accessed by the same chaincode (A). So if another chaincode (B) tries to access the variable, access will be denied.
If you wanted to access such variables (because your use case requires interconnection between chaincodes) you can invoke/query chaincode A from chaincode B.