Of course, whether or not something passes constitutional muster (such as the pledge of allegiance) depends upon the whim of judges who make it up as they go along.
While we're on hypothetical legislation, how's this one for you?
"There being no greater threat to life or liberty than exposure to Judeo-Christian concepts or artifacts, all public representations of anything associated with said beliefs or history (except for "works of art" which trash Christian beliefs or symbols) is strictly prohibited."
you seem unhappy with our third branch of government.
should we abolish it?