At the basic/economy end of the derailleur game, yes they do fit under the axle nut.
the frame has no integrated hanger /dropout on the right/drive side.
This piece does that and lets you select different rear derailleurs ..
bolt , and half-moon shaped nut, holds it in place when wheel is removed..
Making a QR wheel axle practical.