Howdy there,
We've had people use 3D printers for softening adhesive for their phones/tablets. We have a tutorial for what you're asking for, which I will link [guide|134369|here] for your viewing. Just make sure that there is no residue (such as plastic) left on the print bed, be careful when heating your device, and naturally take it slow and reheat your device as needed.
Happy Repairing!