Yes, when you buy an apartment you can specify all of this in the contract. A person or company can hold one / or more shares. In addition, the proportions can also be of different sizes.