It should in theory, unless there is an issue with mime types. The static web generator just needs to deal with hashes instead of filenames. Also it would be terrible for Link sharing and SEO, the URLs will be constantly changing. Things like pagination would be pretty messy.
Also:
Before blossom was a thing nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug made a web server handling various note kinds as the website. The web would then be completely stored on relays.