Flexible thermo-plasmonics: An opto-mechanical control of the heat generated at the nanoscale