Yes, WordPress can be used for e-commerce using the popular WooCommerce plugin that's ideal for online merchants both small and large. WooCommerce allows you to import products and create product pages, as well as customize your entire storefront. WooCommerce makes the purchasing process simple for both you and your customers, and even features advanced inventory management.
This is a very popular option for online merchants. In fact, WooCommerce powers roughly 29% of all online stores.
Source: Hosting Tribunal