Libreoffice without xlibs

Hello, i’m trying to build a self contained image (eventually an appImage) of libreoffice for headless usage. The problem i’m facing is the dependancy on x-libs that seems to be required even with headless flag. I’ve found some other discussions on this but they all look pretty old. The question is: is there any LO distribution that don’t depend on x libs?

Thanks for your help.