With today's LLMs I could see them used as a way to speed up the generation of transformer code, but I'm not sure you could trust them to 'just work' as the layer.
I would depend on how often you need to convert the data. If you running it more than once you would probably work with an LLM to build a transform.