Is there anyway to convert string to code ?

You can create a library of blueprint functions that creates a node which parses your text inputs and convert them to the correct blueprint function calls. Like the math nodes.
But I wouldn’t do that right now, Epic is working on stability; Blueprints sometimes may corrupt, only when it is more stable I would invest time on fancy things like that.