Under Regulation 51 of the Development Control Regulations for Greater Mumbai (now the DCPR 2034), the municipal corporation can permit a change of use of a residential flat to a professional office for certain professions (such as doctors, lawyers and architects), usually limited to a part of the flat or subject to conditions, and the society's NOC is also needed; whether the member can sublet it as an office depends on the permission's terms and the society's bye-laws, since the permission is usually personal to the professional. Please check the permission letter.