It's not a good move if the idea was wrong

It's not a good move if the idea was wrong

linlaoda
NM linlaoda
|
12

White wants to play Bxh6 here, but is the idea correct?