According to the Sharkbite website:
PEX pipe can’t be heated or exposed to a direct flame. The best method to “loosen” the pipe for straightening is by soaking the pipe in warm water or running warm water through the pipe. Please make sure that the pipe is not exposed to direct UV rays.