@snakes202 sure you could solder a new connector. It will probably be more difficult to find a replacement connector and to solder it to the flex than to replace it.
[image|1378397]
Replacement is about $10USD at places like [https://www.repairsuniverse.com/samsung-galaxy-s6-active-g890a-charging-dock-port-flex-cable.html?cmp=googleproducts&kw=samsung-galaxy-s6-active-g890a-charging-dock-port-flex-cable&gclid=Cj0KCQjwkd3VBRDzARIsAAdGzMBefAStiMmig5WL0g08vqI9vjp4-_8w0XUrHW4nqQgTcBfh3pp0UUYaAhJWEALw_wcB|this] and others.