That’s an excellent question. It certainly should, and does to some extent - though not in an ideal manner and not in any way you can monitor or modify.
The slicer is somewhat aware of different filament temperature needs, as it will bring on the exhaust fan above 35C for PLA, but won’t for ABS which needs the chamber hot. However, it doesn’t control anything with much precision and the setpoints for different material types are hard-coded per type and not made visible to or adjustable by the user. At this time there is no automated method to control chamber temp, and no manual method short of crafting and inserting custom gcode.
Proper chamber temp control is on my list of serious issues with the bambu software ecosystem right now.