In the Gabriel phthalimide synthesis, potassium phthalimide reacts with alkyl halides through an $\mathrm{S_N2}$ mechanism.
Could the same idea work with aryl halides under $\mathrm{S_NAr}$ conditions? For instance, if a nitro group is placed para to a chloro or bromo substituent on benzene, would potassium phthalimide be able to attack and give an N-aryl phthalimide?