Interesting idea. Kind of like a corporate partnership or business alliance between companies who compete in the same space. It won't happen in the NBA.
To address this issue, it would be good if the NBA could develop a true farm system. Even better (and maybe more achievable) would be relaxing of the roster limit in case of injuries. Then GMs could go out and sign a guy they need for short-term.