Yes. The law in Kenya today allows couples to agree (in writing) on property-ownership before walking down the aisle. The law also protects matrimonial property to the extent that the investments cannot be sold or used as security for a bank loan at will.