Yes, offshore hosting is entirely legal. It simply means that your website is hosted in a country that has different regulations. As long as your content adheres to the laws of the offshore host country, you can operate your website legally.