I think I understand you want to run Python programs with the DAL embedded standalone as well as multiple instances of web2py.
You should be able to do that, the database will treat each client as a different connection. The migrate option on the table definitions should be true only on one copy where the model is changing or on no copies of the DAL if the model is static.