Including HTML content from WordPress when it’s not your post content but your theme settings can be done! It’s just a mess.
Adding buttons to a Gutenberg block can indeed be done. Dare I say it? Simply.
Another version of a repeatable spoiler block with Gutenberg.
Some more extra things with Gutenberg that are on the wild side of advanced.