No, the DC movies are not all in the same universe. The DC Extended Universe (DCEU) includes films such as Man of Steel, Batman v Superman: Dawn of Justice, Suicide Squad, Wonder Woman, Aquaman, and Shazam!. Other DC movies, such as Joker, are not part of the DCEU.