My iPhone 13 is starting to have problems with the charging port. Is it worth it to just change out the

My iPhone 13 is starting to have problems with the charging port. Is it worth it to just change out the charging port does, it void my warranty?
View full source