As well as the other suggestions, was discussing this with someone just yesterday and they suggested filling the port with PVA glue (like the stuff used at school, not super glue or epoxy!) and a bit of thread, then pulling it out with all the crud once it’s set.
No idea how effective it is personally, when I got my current phone I got some plastic usb c port covers and that stays in place whenever I’m not charging, so far it’s done the job.
We save it for u wot M8?