Yes, it is possible on the same database server. The database name prefix when adding a constraint, for example. databasename.tablename.fieldname . Observe user permissions.
I do not consider this a bad practice, although this is not something that should happen very often.
source share