Create a visual game engine

I’m not an expert programmer, but I did write a few IOS apps and Games, while I was working on my latest project using SpriteKit(yes I’m inside the Apple ecosystem) I had this question of can I make myself a visual drag&drop engine based on Spritekit using a set behaviours that I have already written? for example I would drag an asset as a player, and then just give it already made behaviours(components now that Spritekit supports that) like health, movement, shooting. The thing is I never made that kind of thing before, but I will not be really creating a game engine, just some visual UI instead of code that already based on Spritekit. But How can I convert or separate the behaviours, assets I choose into an executable app? What do you guys think of this idea, and is it possible to be done?