I have, and it will work to varying degrees based on the specifics of your
setup. The caveats are:
1) domain A and B cannot have the same name, but not actually be the same domain
(e.g. both called contoso, but created at different times and not synched).
2) Everything should work without modification if there is a trust relationship
between the domains.
3) If there is not a trust relationship, you'll lose all personalizations and
you'll have to manually fix the users and permissions.