If you are a property owner, you can have your property divided into apartments.
If you want to use rooms for commercial purposes rather than for residential purposes, you can establish so-called shared ownership.