Is there a way to update Custom data within gpu?

Maybe through the scene uniform buffer?

A texture lookup could also probably be a viable option inside of a custom material node

For pure GPU calculations look into compute shaders.