By convention and preference, I would not put an opening Nemeth Code indicator at the end of a centered heading.
Still, technically, I think it would not be prohibited by the Guidance for Transcription Using Nemeth Code Within UEB Contexts to do as you suggest with a one-line centered heading.
Thank you for the question. Please let me know if you have follow-up questions or concerns.
–Kyle