Is the source code for tag reading and writing in M4A files publicly available anywhere?
No, it's internal only.