What hook to use for modifying the markup of blocks?

WordPress had this BlockGutenbergEditor since version 5.0.

Are there existing actions or filters you can use to modify the rendered HTML markup right from the server-side?

If so, what hooks you can use to modifying the markup of those blocks?