Technically, yes you can do this. As long as the VPC consistency parameters match up it SHOULD work.
Now of course this is one of those things that while it's technically possible to work, and it should work, if cisco actually lets you do it or not is another story. Best bet is to connect them in a lab and test it. Or if that isn't possible do it in a maintenance window and only take one down and then try and insert the new one as secondary.
I would keep them running the same code version if possible or at least close.