Main reason the character virat himself don't mind pakhi actions
He don't mind her invading his private space
He don't mind her changing his t shirt
He don't mind her asking him for a hug
He don't mind her asking him to take her for ice cream ALONE
Just giving 2-3 weird expressions to her actions is not enough.
His strong defense to pakhi shows he don't mind her actions.
So when the main party himself don't have problem with it, there is no room for harassment discussion.
Same case with gender reversal too
If any girl is okay with a man invading her private space then it is not harassment.
Being silent(silence out of helplessness is exception) is equal to encouraging such actions.
Moreover I remember whole fandom voicing out this during ml's first hospital scene.
And our lovable ml defended that character by equating pakhi care & love with Sai's.