Yep , as long as the heel is the right(ish) size,(and shape) you can use just about any 22 fret, 25.5"SL neck.
My current craziest set is a 22 fret 24.75" neck that I replaced with a 24 fret 25.5" . It required a new bridge location ,( only the teensiest widdle bit) and a minor set-in on the neck , but it plays like a champ , and it's intonated , which is the whole goal when swapping parts.
I'm with the guy above , body or no body ? , but I figger you meant neck .
anyhoo -
git-r-done.