Digital port replacement

i have a really bad optical port on my old origianl ps4.(the port i plug my cable into for my Astro a40s) its very hard to get to work. i was wondering if it was possible to replace it all together? if it is a solder job or if its even possible. with it being some sort of fiber optic (i think) i didn’t know. Thanks in advance!