It's been done before. Putting a d16z6 or y8 head on your d16a6 block would be called a Mini-me swap. Basically thats pretty much all you do but it's a bit more complicated than that. I've been contemplating whether not I should do this and thought it really isn't worth it. You rather just swap the d16z6 or y8 engine in.