If you could afford to buy an island and build a mansion on it, there would be no legal problems (because you'd be outside any government's control).