You can create simple product programmatically using InstallData by using the below InstallData script.

Ref: http://magento.stackexchange.com/questions/166739/magento-2-how-to-create-simple-product-by-upgradeschema Enjoy Magento 2! Enjoy Magewallet!!