Strict ruling, yes it's a technical foul
Rule 10
Section 3 PLAYER TECHNICAL
A player shall not:
ART. 3 . . . Grasp either basket at any time during the game except to prevent injury; dunk or stuff, or attempt to dunk or stuff a dead ball.
The net is considered part of the basket, so it can't be grasped except to prevent injury.