Doubt it. The CJ7 and CJ8 have a different shaped tub at the top rail than the CJ5. The CJ8 half top is designed to fit over the angled top rail of the tub, which the CJ5 doesn't have. Besides that there's the issue of the bulkhead. You'd have to design your own bulkhead as the CJ8 one definitely won't work in a CJ5. Final point is the issue of doors. What would you do for doors? The CJ5 soft doors won't work with the CJ8 top.
74 CJ5 complete frame off restoration
82 CJ8 Scrambler Laredo. 4.6L stroker AX15 D300.