No. Opening or closing doors during a scanning session will lead to issues with post-processing and SLAM errors.
In rare situations, SLAM may fail due to unexpected movements that the device could misinterpret as shifting walls. This is particularly true when the device makes sharp turns and in difficult scanning conditions, like expansive outdoor areas.
Opening and closing doors should be managed as part of the preparation of scanning a site, refer to Preparing the Site for details.