The issue would be safeguarding.
We do this all the time for students that can't/won't use their legal names in school for a number of reasons.
There are quite a few lines of work where this might not be a bad idea. E.g. also Police and government employees in general.