Custom Bluprint nodes with C++ function code in-editor :-o

maybe its possible to create utility that can convert bp in c++(nodes to c++ code symbols), for example i create my actor in bp with some logic and then click button and unreal generate “.cpp" and ".h” files with the same functional, bu default it can be done not ideal and if user wont? — it can do optimization by hands

here is example from epic Unity to unreal tutorial


We can see that c++ code the same like nodes in bp so need just conversion!!