Yes but i would have expected a bit more than a few punches and a slam to make Hulks nuts drop off and go into hiding. Just seemed far too brief of an encounter for it to have had that effect. A scene were he got tossed around, got enraged more then proceeded to take a whipping would have been more effective rather than a few slaps and a slam.
Depends how hard you're getting hit i suppose! i think the hulk differs from ragnarok to this, because we see him attack Surtur who destroys asgard in that, but again Thanos has the power stone.