Yes, I use simonw's `llm` for that: https://github.com/simonw/llm
Example:
$ man tar | llm "how do I extract test.txt from a tar.gz"