You must verify that if the property what you propose to buy is a single flat in the lower floor or the upper floor.
Generally the duplex type of flats cannot be divided for various reasons including the stair case which would run through the lower floor house,.
A duplex is a multi-family home that has two units in the same building. These two units always share a common wall, but the floor plan can vary. Units can be arranged either side by side or stacked on top of one another, each occupying an entire floor or two of the building.
Duplex flat is the residential unit for a single family with single kitchen and living room but at the multi-stores
If the upper floor is separated from the duplex construction and is being sold as a separate unit then it would be construed as an unauthorised construction. The local civic body or the competent authorities may issue notice and may pass orders to demolish the illegal structure if it is not under the approved plan or not regularised.
You may better obtain a proper legal opinion from a local lawyer having experience in property law and proceed only if recommended.