Is it possible to add the wealth separation clause to the contract before marrying someone? I know that some countries have it as an option.

I'm asking since prenuptials apparently get discarded and don't have the same power as the marriage goes on.