Theme authors may be able to add custom gradients by version 6.8.

You can do this with JS right now by updating the editor settings. For anyone wanting to completely remove the new gradients:

wp.data.dispatch('core/block-editor').updateSettings({ gradients: [] });

...but this unfortunately still leaves the gradients panel. You can use the following code to remove it entirely: