No, as you probably found out the hard way because you ask.
Also, changing production to something ordinary, then disband a unit/clear a forest/pay, and then change back will not work. Wonders are grayed out in the list of things you can build as soon as the production box contains any of those "quick" shields.
Wonders can only be rushed by a leader.