If you look around online you can find a replacement for that little bracket that holds the battery connector on. Here's one example I found after a quick search; you can probably find more if you look a little harder.
[link|https://www.fixshop.eu/spare-parts-apple-iphone-apple-iphone-11-pro/apple-iphone-11-pro-metal-cover-battery-connectors/|Apple iPhone 11 Pro - Metal Cover Battery Connectors|new_window=true]
You can frequently find it being sold in a bundle as "small parts" on places like eBay and AliExpress as well.