I think that's mostly correct, and at beginner/intermediate levels of play can very much be true. Back when I used to play, I'd often run into people who specialized in weird gambits like the Grob or the Latvian, because even though those probably won't win many masters levels games, they're full of traps which can trip up lesser players.
But even in mid-game, it might mean that if you know that your opponent prefers open / tactical positions, for example, you try to force a closed position, even if it may be slightly suboptimal.
But even in mid-game, it might mean that if you know that your opponent prefers open / tactical positions, for example, you try to force a closed position, even if it may be slightly suboptimal.