The Short Version
The described mechanism is physically sound. During an endothermic phase change, absorbed energy can separate particles against intermolecular attractions, increasing the potential-energy portion of internal energy even when temperature remains constant. In transitions involving substantial expansion, some supplied heat may also support pressure-volume work.