the active theme for the store is set in the database, so using the same database on 2 sites would not allow you to use a separate store theme for each.
there could also be an issue at the server level. some servers will not allow access to the MYSQL Server used by one site to be accessed by the other site.
it's posible it could work, but it would depend on the server configuration.