Understanding PfSense

Just a quick question about setting up the hardware. 

 

I want to set up a pfsense box in this manner: 

wall ---> modem ---> pfsense---> Asus RT-AC66U (to broadcast wifi and act as a switch with my server) 

 

Is this a legitimate way of setting up a network?