Aye. Writing it to the POI file would work great. The thing about writing "new" data is even though it's written to the file right away, it's not loaded into game memory right away.
So if you switch a toon before relogging it wouldn't be in the correct place in memory.
So you either fake it by assigning it to that "location" in the UI code, or you just load it into a place holder to read from. Like a page with 1-100 with names assigned to each. I dunno if the friend limit is 100 or not, but...
I know you can get the name from the Community window, as I saw how you did it originally gm9

I guess you could just go row by row, or make a fake "loop" in the code to catch them all.
But that tells me you'd get a lot of blank names... except it wouldn't be NULL it would just be a space or maybe just blank.
A script to add a lot of friends at once might get blocked too. You'd probably have to have a button to add each friend 1 by 1 from a list as to not spam the server with request.
I'd say it's 100% doable. But again, a lot of outta the way work.
Honestly I just keep notes for every single friend. The notes file gets saved to a txt document. The first word of each line is the friend name. Parse it out to like Excel or something and then add your friends to your alts
