Hi.
In github pages there's the possibility to define a custom 404 page containing a script that permits using it in SPA site.
See here
Is there a way to define custom 404 page in bitbucket page?
Meanwhile I found this old post and it seams there's no intention to implement it.
Is there any way to similar single page application in bitbucket static hosting?
Thanks