Regarding that, based on what I've seen as Data & SW Engineer, I believe that will always exist improvements and that the best time to map them is through the work being done daily. In this moment there's no time for the improvements and technical debts, so it's important to have a team process to map these technical debts and improvements and address them when the time is appropriate as you mention.