According to Wikipedia, "any chess piece except the king may be sacrificed". However, I am wondering,if in some rare situations, whether endangering the king can also be a good strategy. Here is what I mean.
In a position, I make a move after which my opponent has a checkmate in one. But this checkmate is very counterintuitive and is difficult to find, especially if my opponent is not so strong and/or they are in time trouble. If they miss this checkmate, my position is actually better.
Are there any examples of the above-mentioned scenario? Can endangering the king be a good idea occasionally, or should it always be avoided?