Defining two containers in the same YANG module with the same name will fail confdc (the YANG compiler). If you are looking for this behavior only for the CLI northbound, then you can define the operational container with a different name in the YANG module and use tailf:alt-name to specify the same name as the configurable container.