There are more knowledgeable members on here than me , (Chuck) who will comment at some point but a few other things to consider. You're talking about changing the suspension geometry so you need to look at the offset of the yokes, the length of the forks & how that changes the height & trail of the front.
On the shock, the shaft length is important & how it affects the height of the rear of the bike.
It's not that it can't be done but it isn't to my knowledge a simple 'plug & play' operation.
I'm interested in the topic & hope the more mechanically skilled w