The usecase is to decompile arbitrary regions of memory which do not correspond to a binary loaded in Ghidra. The usecase is decompiling relevant functions from many shared libraries, or kernel functions, which are not fesible to load in Ghidra.
It is definitely possible. There are three projects that do this that I know of: