It should work fine, they can be mixed. 
Hi everyone, at one of our customer we have an active Gen5 cluster.Is it possible to replace single RPAs from Gen5 to Gen6 without altering the replica? Thank you all,Jacopo
Replacing Gen5 with Gen6 in a cluster