While it is not the best Idea to shift focal length or focus between shots, unless focus stacking, or linking large blank skys. It is something any program based on Helmut Dursch's PT maths can cope perfectly well with. Provided the exif data is available .
Both PTGui and PTAssembler can focus stack, exposure blend and cope with focal length changes, all at the same time.
But perhaps not something for the feint hearted to try.
For good measure both will cope with considerable parallax problems, and blend and equalise poor colour and exposure differences.