You can pigtail to feed two switches like you pictured. The white wire would not be connected to the swith. The 3 whites would be nutted together (source, one going to each light).
The incoming hot would be split and to one screw on each switch. The blacks coming from the lights go to the second screw on each switch. Grounds get tied to everything and connected to the incoming ground.