Only if the manufacturer identifies it as compatible. Similar shelf heights do not guarantee the tray has the correct width, locating points or clearance.
What the observation means
A tray can tilt, obstruct circulation or prevent complete door closure even when it seems to enter the space. Accessories supplied for separate cavities may deliberately be different.
A useful next step
Check their markings and the manual's accessory diagram while everything is cool. Use the specified tray for each compartment. Do not bend a tray, remove rail stops or balance it across unsuitable supports, and mention any accessory substitution if cooking results changed afterwards.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.