I don't think this would work as a lesspipe.sh viewer, since it is interactive.
I have wanted this for VisiData for data files. You would need a wrapper around less that could start other programs instead of less.
You might be interested in Tidy Viewer with lesspipe.sh
You might be interested in Tidy Viewer with lesspipe.sh
[1] https://news.ycombinator.com/item?id=28670252 [2] https://github.com/alexhallam/tv