Need to post your Computer specs as per AMD Forum rule : INFORMATION REQUIRED WHEN POSTING A QUESTION .
In general, you probably can replace the AM4 socket (according to some Youtube Videos). BUT you will need specialized tools to do it plus find another socket to replace it with. It is not worth the effort to repair.
It will be cheaper and faster just to replace your Motherboard. If you damaged the CPU Socket, it could POSSIBLY void your warranty on the motherboard. Depends on how the Motherboard Support hears the reason for how the CPU socket got damaged.