The output of such a program might look something like this I think: https://man7.org/linux/man-pages/man1/groff.1.html
https://manpages.org/xman
I.e turn the manpages for curl into a GUI for curl.