AOA + SQL Server 2014 Replication?

I have an existing installation of SQL Server (2014) using permanent availability groups. All of the documentation states that I should not try to install replication (that is, Distributor role) on any of the servers participating in the permanent availability groups.

Why does the documentation warn against this, will it still go on? Always Does one prevent replication from working? Or is there another reason?