Really? What happens when the website host crashes and burns? You know, some companies are outlived by humans.. Many.
There are however legal rules against trusts in many jurisdictions: https://centaur.reading.ac.uk/100782/1/Article%20-%20The%20r...
So your best bet is to establish a community of people interested in preserving your website, or websites in general, and have them run a long term nonprofit for that purpose.