Yes. The Forbidden City in Beijing, once the imperial palace of the Ming and Qing dynasties, is now a public museum. Visitors may enter and exit freely during opening hours.