There's no evidence that sniffing hand sanitizer will get you high.
However if you did sit there and sniff the alcohol based hand sanitizer for hours then you might eventually get a high off of it.
But you likely won't be high for long as there's not much in the hand sanitizer to get you high enough to where you would be high for long.
Still it's not a very good idea at all to sniff hand sanitizer anyway as it could cause lung issues or even brain health issues.
Never sniff things that you shouldn't because although you might get a good feeling temporarily from being high you can get health issues and possibly die.
It's not worth it.