That depends on if you live in a jurisdiction that lives or dies by free speech, and if it considers code speech[0]. Forcing you to implement age verification is effectively forcing you to speak things you don't want to say, which isn't free speech.
[0] https://en.wikipedia.org/wiki/Junger_v._Daley