I opened a PR to bring this feature to core:
https://github.com/WordPress/gutenberg/pull/24699