Whilst anything is possible, it ought to be much easier to gamble on staying married than gamble on a fickle market of consumers liking a product that you haven't built and is in no way similar to anything else.
This is not true for even the best entrepreneurs of our times...many are divorced multiple times so gambling on staying married is a bigger risk. Elon Musk and Sergey Brin are just a couple examples. Your spouse can dump you at any second no matter how secure you think your relationship is.