No, the Madrid Agreement cannot be used to protect a trademark in countries that are not members. In such cases, the national procedure of each non-member country must be followed.