There are cases where compelled speech is considered constitutional, but surely not when it's used to threaten the primary way people communicate.
And contrary to your claim, COPPA does not legally require service providers to ask every user how old they are, nor are users obligated to reply. Age questions are just how service providers chose to implement it. And I don't think COPPA is a good example of a law working as intended.