Only if the appliance instructions permit that method for those knobs. Materials, markings and internal fittings can react differently to soaking.
What the observation means
A knob that pulls off on one model may not be intended for removal on another. Water left inside a hollow part can later reach the control area. Strong chemicals can also erase the markings needed to select a setting safely.
A useful next step
Use the specified cleaning method and avoid forcing removal. If markings or the fit have already changed, report that before further use. Do not replace a damaged knob with a visually similar one unless its exact compatibility and position markings are established.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.