AppHost.OnAfterInit Plugin code

Is it possible for a custom IPlugin to run code in the AppHost.OnAfterInit() method?

In other words, my plugin requires that some code is run in the the AppHost.OnAfterInit() method of the AppHost that installs the plugin.

Is it possible to somehow have the plugin run that code for th AppHost, rather then forcing the developer to add a specific call in the code of their AppHost.OnAfterInit()?

Plugins can implement 2 interfaces IPreInitPlugin for executing logic before plugins are registered, IPostInitPlugin for logic after plugins are registered.

The last custom logic that can be run at startup is:

appHost.AfterInitCallbacks.Add(host => ....);

Which is the last callback executed in OnAfterInit():