To a aggressive player(like me), or to any other players, it is just wasting a move, it is better to develop to f6, if you are afraid of the fried liver attack/lolli, try this line, it is a messy line, but black gets more development at the end:
[FEN ""]
1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5 d5 5. exd5 Na5 6. Bb5+ c6 7. dxc6 bxc6 8. Qf3 Be7 9. Bxc6+ Nxc6 10. Qxc6+ Bd7 11. Qf3 O-O
However, if you dislike these kinds of positions, it is your choice to play h6 to prevent it, and it is totally fine, it is still playable as black.
The only time when h6/h3 is normally played is when there a backrank mate threat or you want to start a kingside pawn storm(a3/a6 for queenside), sometimes when you play sicilian, you world play a6 because of the amount of pressure on b5 and a white bishop there would just make black's life harder, I can't currently think of reasons to play a3/h3/a6/h6(related moves) other than these, if I come across any, I'll edit this.