Well, I think it's pretty possible to do this, I even dare to say, trivial. You'll need to build indexes like txindex, but this is relatively cheap.
My curiosity was around why using ln on a pruned node isn't robust. It should make no difference, since ln node doesn't look for historical transactions, only UTXOs
https://bitcoin.stackexchange.com/a/83614
That's a pretty old answer. I don't know lnd, but CLN works with pruning just fine.
If they've managed to make it work, well and good.
Lightning was just one example of a limitation pruned nodes may face. Another would be trying to build something like a block explorer.. or any other application that relies on querying transaction history.