Here is some feedback I got regarding the automation of topology functions from an someone I can probably talk some more with. It seems promising regarding the more general issue of using LISP to drive Map.
It is possible using LISP. Look for the tpm_ functions.
If you mean VBA, I'm not so sure. I believe the VBA Api (MAP 5) does not include topolgy. Only Drawing sets, Queries and Object Data. Take a look at the helpfiles, AcMapAtm.chm for VBA and AcMapAds.chm for Visual LISP.
regards,