Google researches published paper with details of implementation of their superresolution: https://arxiv.org/abs/1905.03277
It seems not trivial but implementable. Algorithm introduces new approach to merge and produces demosaiced image, so requires large changes in pipeline.
Development might be split into stages:
- Alignment refinement for sub-pixel accuracy using Lukas-Kanade optical flow iterations.
- Merge without considering robustness term
- Add robustness estimation.