The NBA rules do not allow that. The Rockets were over the cap and I doubt they had an exception large enough to fit NAW's salary or matching salary that Rockets were fine losing.
His defense is visibly much better last night. Hope it's a sign he's getting back his mobility and timing.