No. Physical cartridges of Pokémon Black and White are Nintendo DS games and cannot be inserted into a 3DS cartridge slot.
While the 3DS is backward compatible with DS software, that compatibility only functions when a DS cartridge is physically inserted—which is impossible due to the different form factor.
Both titles were sold as 3DS Virtual Console downloads on the eShop (2013–2023). If you purchased them before the eShop closure, they remain in your library. New purchases are no longer possible.