Of course a LPC54618 can generate a PDF file, just as a Z80, 6502, 68000, i.MXRT1064, X86 can do. It does not matter what CPU the code runs on. Just a matter of software
But, there are no examples/libraries in the SDK's for NXP processors, because, why should there be ?
Makes as much sense as including stuff for making BMP files, DXF files etc.
There are libraries out there that can do that, or you can do it easily yourself. All is well documented on the internet