When selecting Filter By on customer lookup field on subgrid it shows all the Account and Contact records.

I want to filter the Customer Type lookup field to show only some specific Accounts and Contacts records instead of all.
Is it possible to customize it?