If you want to build from source, you could easily add a SetActive() function to Actor that toggles Ticking and recursively toggles off all components. You could set up a function called on editor changes that calls this based on toggling a bool prop on the actor.
You can also do it with a plugin, or with a helper library, as other people in this thread have pointed out.
If you want it to work “just like Unity” then the first option is probably the way to go. If you have issues with making changes to the base engine code, then you’ll have to roll it another way.