No, the presence of flags on the Moon does not indicate sovereignty. The Outer Space Treaty, which was ratified by the US in 1967, explicitly states that no country can claim ownership of any celestial body.