Is this a compliant way to control three circuits with two switches?
That isn't three circuits, it's only two. The Romex on the left is the power coming in from your distribution box, and the other two are your two loads. Each switch is connected between the incoming power and one of the loads.

I'm not sure why there are so many wirenuts on the supply side &mdash; it seems that if one wirenut can connect three wires, then one should be all you need. Get rid of the extra pigtails.