Yes, you can do that using the Webkul Magento 2 Web To Print extension. It will allow a customer to customize a product using an image, logo, or enter any custom text.
The store owner can upload custom font files, images, color options. Multiple templates can be created for a product.
You can also check the same extension for OpenCart Web To Print
Please do contact us for any further queries or requirements.