ONNX export same input and output names

Is it possible to export a model with same names for some inputs and outputs?
Currently it seems “.N” is attached to input names, also I do not see this mentioned in the documentation