Can WooCommerce Handle 1 Million Customers and 500K Products? (I have an unlimited budget)

Can WooCommerce efficiently handle 1 million customers and 500,000 products without performance issues?

Will I experience downtime or frequent errors?

I have an unlimited budget and am open to using any cloud solutions or similar technologies.

Some have suggested switching to Magento instead of WooCommerce. However, I am highly experienced with WooCommerce and unfamiliar with Magento. At the same time, I want to ensure I retain my customers.