No. Unlike friend codes used on Nintendo 3DS, Nintendo Network IDs are not created automatically.
Once you have chosen your Nintendo Network ID, it is not possible to change it.
Once you have entered your date of birth it is not possible to change it.
Before giving away a system with a registered Nintendo Network ID, please contact the Nintendo Service Centre, who will be happy to help.
© 2018 Nintendo.