Is it possible to create a Niagara Scratch pad module through c++?

I’m doing some flocking behavior in niagara and I really want to do the logic in c++/hlsl.
Is it possible to create a Niagara Scratch pad module through c++??