Yes, it is permitted to take photographs during the ascent and from the top of the Dome without the use of flash.
Subscribe to the newsletter to receive updates on events and news from St. Peter's Basilica directly by email.