Only if the model's instructions explicitly permit it. A removable plastic reservoir may still be unsuitable for dishwasher heat or detergent.
What the observation tells you
Distortion can prevent the lid sealing or the outlet seating correctly, creating a later leak that appears unrelated to the wash. Small valves and seals may have their own handling requirements. Do not assume that every part of an assembly shares the same cleaning method.
A useful next step
Use the prescribed hand-cleaning process where required and let the parts dry appropriately. If the tank no longer fits naturally, stop forcing it and obtain model-specific replacement advice.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.