A digital swing lens camera would need a bend sensor chip.
I doubt if ever someone begins with that. (Let`s say, before flexible sensors arrive...)
Ooooh, I just realized I posted absolute nonsense...
Of course one could do it via a line scanning device as in those rotational cameras. Then we would have the same discussion as with those film-based camera types.