Yes, but none of those actions would actually serve to stop anyone from saying whatever prayers they like, they could only hope to deter people from making that choice by threatening them with harsh consequences. If I don’t care about the consequences, it’s impossible for them to enforce this law on me, they can only punish me after the fact. That’s why these kind of rights are inalienable, because you can’t really actually deprive anyone of the right itself, you can only try to increase the difficulty of them exercising it.
That's true of any law.