It was tried. Multiple times. Each time a court found a reason it wasn't legal.
What is interesting, I see here in San Diego , Middle Eastern & Horn Of Africa Cab drivers put their prayer rugs on public sidewalks next to cab at prayer time.
Hey, no problem.