Yes, you can certainly achieve this. Just navigate to Settings--> Site Settings --> Gateway Settings. Now click on the gateway to select the card logos as given in the screenshot below.
The checked logos will be displayed on the checkout pages for which that gateway is the set as the default one to store cards. For more information on this, refer our document on smart routing.
Note: This option is only to select the card logos displayed and does not mean the payment gateway will accept only the selected card types. You would have to get in touch with the payment gateway to know which card types are accepted for your gateway account.