No, not needed.
Your photo will be taken as you check in for the interview.
I believe people naturalizing under military programms may need it.
Also, if place offers applying for passport on spot, it may be needed if you have same day ceremony.
My field office had same day oath, but applying for passport wasn't available there.