Is there by chance a way to password protect the generated site?
https://github.com/robinmoisson/staticrypt
and other worse ways
yes, it is possible. Will be adding that and full website above <25mb publishing also soon