No, that won't work. What you need is a receiver (something to point your remote at), which is connected to a POWERED IR repeater (meaning it plugs into an electrical outlet). That repeater is then connected to your Sony with a cable like this:
https://www.amazon.com/gp/product/B07PMZXL3Y/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&th=1
Here's a diagram from my Marantz manual that shows use of their similar port -- I use it, and it works like a charm.
https://manuals.marantz.com/CINEMA60/NA/EN/DRDZSYmeqtyfel.php
In fact, my installer put one of those ugly little flasher things on the front panel of my receiver (over the remote sensor). I removed that, and instead connected the repeater directly to my receiver with the cable I linked above.