Coherent Manipulation of Thermal Transport by Tunable Electron-Photon and Electron-Phonon Interaction