Is it possible to convert a c++ code to blueprints?

Not really. In any case, why would you want to do something like that?