You can of course use a non-standard contract. It's called a pre-nup, and it has both the downsides and upsides of a non-standard contract.
I don't have, want, or even particularly like children, and even I have a problem thinking of them as "shares" or "assets" or pre-deciding their fate with a formal contract written before they were born or old enough to express their own wishes.
I'm sure if you were the dictator and God-King of a small country, where you could reinvent society as you wish, you might be able to create something that would fit 99% of the population, since you would be able to forcibly squeeze the behavior of each couple into a few standardized containers with corresponding legal rulesets.
Getting married is romantic and irrational, and that's why we enjoy doing it.
It also seems to offer access to additional social and cultural collateral than just cohabitation and has several inferred expectations in various social spheres.
Parties in a relationship sometimes have wildly different experiences, expectations and motivations "in love" and marriage provides a way to reduce this complexity.
There aren't many things that test your will and resolve more than having to sign a big contract on something. What people will commit to verbally is often vastly different to what they will actually sign to when it's in writing.
Marriage is much more than believing in "love". Marriage can remind you that you might want to stick around even on the bad days. Life isn't always easy, but sometimes it is too easy to walk away from something that is better held on to.
A couple can believe in love, without contracts on the side.
And if they decide to break up, then let it be so. Marriages more often than not seem to force people together when things are not right anymore, instead of letting them be free to choose something else when love is gone.