Here is explanation how to make curve deform modifier with geo nodes
I have curve deform node group that might help too