I've had this question for such long time. Is it possible for things that are harram in this dunya to be halal in the afterlife?

Things such as:
-The eating of swine
-Having more than four wives.

If applicable, if you can support your reasoning with textual proofs I would really appreciate that.

In the afterlife, there are no responsibilities or liabilities, so there is no halal and haram over there. However, the odd things in themselves, which are against the true nature, will remain as they are, such as homosexuality.