We (all coders I've talked with, along with myself) don't think that can be done, Phil. IMHO it's because the gmf objects need to be present and load via def "_init_", "Activate" and/or "Hazards" to be recognized by the py.
I once tried importing the "self.AddXtra..." file initially, but couldn't get the python to recognize it, so as to introduce some dynamics to the added gmf. This is why I had to integrate the House bots into the arena I made for Wham; because I could not control the geomobjects if the were 'self.AddXtra' added in.
(To make 4 diferent housebots I had to make 4 different whole arena.gmfs, and then put in a random generator at _init_ to select one of those 4 arena.gmfs at start up; and wrote the functional part of the py to look for and control those particular housebot geomobjects in the arena.gmf that was loaded).
That's what I've run into so far Phil.
Note: Another wall I've run into is keybaord ('raw') input while in the game. I , Goose, FB, CB, Serge tried and I think Trov tried, but no one has seen a way to do it....yet.
.