Yes, Twitter is a private platform. But is it legal for the government to aid them in their censorship effort?
Suppose Twitter had a policy against religious speech. Would it be legal for the government to identify instances of religious speech on the platform and forward it on to Twitter moderators, knowing it will certainly be removed?
If you think that would be legal, would your mind be changed if the government helped Twitter to develop its rules against religious speech?