There are plenty of organisations that exist that will gladly take your money in return for land on the Moon, Venus , Mars, and if you had enough money to go to the moon nothing is stopping you from moving there, building a house with a significant other, having some kids and turning your moon house into a moon home… it wouldn’t be trespassing , squatting, or even stealing. The 1979 Moon treaty says that no one can own any part of outer space … ever. But only 11 states have signed this treaty. However , 129 nations have signed and/or ratified the 1967 outer space treaty which says that outer space is not subject to national appropriation, it says nothing about a private individual or a company owning part of outer space.
YouTuber VSauce sheds some light on the whole subject: