Yes! Once you set up your Stripe account, it will automatically be enabled to accept these types of cards.
And bear in mind, just because an account is enabled to accept HSA or FSA payments, doesn’t guarantee a card won’t still be declined. Card issuers are still at liberty to authorize or decline any payment as they would with any other type of credit card. You can learn more about declines here.