module to customization product in drupal commerce
You are looking for Commerce Customizable Products


  Drupal Commerce allows you to sell customizable products that require
  customer input when added to the cart. Use cases for this
  functionality include:



Business cards that require contact information and a logo upload.
Event registrations that require attendee information.
Donations the allow the customer to specify a donation amount.


and especially for t-shirt design it is possible only through third party tools, we can integrate but it is not free, they have drupal support with their tool http://www.online-product-designer.com/online-advance-tshirt-design-tool.php and http://harboarts.com/shirtdesigner/