No, you cannot access Osiris databases from behaviour script.