How to specify which Gutenberg blocks are available in the editor for a page template

It’s theoretically possible but would require reloading the page again because the page template can be changed after the content is initially loaded for editing; unlike a post-type.

(Maybe try to use UpdateSettings to do this although documentation is scarce.