Blind Deconvolution is around for a while and from the estimated PSF you can gather the shake pattern (or tell whether it’s just overall out of focus). It just never worked good enough in practice but I remember some impressive results already a decade ago