Of course you can combine the two but why use three tools (SSR + HTMX + JS) when I can just use two (SSR + JS)?
My point is that if you are going to use a JS framework then it will do the same as HTMX and I don't have to remember where to draw boundaries of responsibility.