Can you make a script to add nodes/ actions into a blueprint Python/Editor Widget?

Can you add actions/nodes to a blueprint?

I’ve spent all day watching videos just watched a few about using python

I think my issue is that I don’t really know what I’m looking for and don’t know weather it exists or is possible.

I’d like to make a tool I’ve gotten pretty far into finding how to do most the functions I want, but I need to add nodes to a graph on an asset that I just created.

Can I do this using an editor widget and or python?