I may be wrong, but I believe that not much stress, if any, is induced by a change of temperature of
the whole aluminum alloy motorcycle frame.
The case of a commercial airplane fuselage is different, because the pressurization cycles induce cyclic internal stress for what it is essentially a cylindrical vessel.
As a matter of fact, heating up whole metal parts and assemblies in big ovens, is a common industrial way to reduce internal stress that have been previously created by heat treatment, welding, or other means of manufacturing.
Perhaps your stamped and welded frame went through a thermal
stress relieving process in the factory prior to the final assembly of the motorcycle.
Please, see:
https://gearsolutions.com/departments/hot-seat/stress-relief-is-a-key-step-in-parts-manufacturing/#:~:text=Performing a stress-relieving operation,up to 2-3 hours.