They (or at least, some version of them) do finally get to kiss in The Lower Decks. Garak's actor himself purposefully decided to play up his character's "obvious" attraction to Bashir throughout the series. There was definite intention behind it, if never rising to the level of actual text, which had a lot to do with what the producers would let them get away with. Luckily (or maybe not so much, given the reasoning behind it) there were a lot less issues with same-sex female attraction on DS9 (thanks, Evil Kira)