Yes.
This is called a Merchant ID (MID) restriction. Each merchant has a unique MID at Mastercard and Visa. We have included articles from some popular platforms that explain how you can retrieve your MID from them (if available):
If you are a merchant and want to restrict purchases on the cards you issue to only your MID, we can set this for you universally in our API. This can be useful if you are offering loyalty cards or promotions tied to the cards. See below as an example: