Five years later, I find myself extremely interested in this topic.
No tool has yet been released to edit the SS/HG save file with the option for Viridian City Trainer House.
I am a newbie, in the sense that I am not even able to understand how to obtain the part of the memory you mention from the Desmume emulator. I would appreciate it if you could give me some explanations.
My pokemon research is fill the room with 10 trainers whose Pokémon and stats I decide. I know that for the old Pokémon Gold/Crystal games, it is apparently easy to change this part according to this link:
I think this line of research is greatly underestimated in terms of its importance, though I don't know if this is due to its apparent difficulty.
I also tried asking in the DS ROM editors community, but no one seems interested since their main focus is building new hack ROMs.
Thank you to those who, years later, believe that this is an important missing piece for the playability of SS/HG games.