Yes I have several of those and they still work with my S23. Not sure why they don't sell them anymore. It was a great idea. The fan is even dynamic, it knows how hot the phone is (even if it's in a case so the phone must be reporting it over USB somehow).
There was a second version which was flat so you could use the phone as touchpad. But it was thick, lacked ethernet port so it wasn't really worth it IMO. When you use a dock it's trivial to use a mouse, way better than any touchpad.
https://www.digitaltrends.com/mobile/samsung-dex-first-impre...