Is there any way to initialize a ScriptableObject asset created through a menu (CreateAssetMenu)?

I have a ScriptableObject with the attribute [CreateMenuAsset]. When I create an asset through the menu, I’d like to initialize it with default values. Is there any way to do this programatically, such as a SO method that gets called whenever a new SO asset is created, (an editor only method, I guess)?

Instead of CreateAssetMenu, use MenuItem attribute. You can get the exactly same result (having a new menu item in the Create/ submenu), but instead of creating an instance, your static method with this attribute gets called. There, you can instantiate and initialize it in any way you want