The question is more about the door shape, and pin spacing. Will a newer frame fit the older bottom door? The roof (no idea what brand) needs round corners (probably made for different year), and all doors listed for a 1991 YJ are square.
I acquired a 1991 YJ that has a hard to added. The upper doors are for the soft top with square corners. These are the only ones I can find listed for a YJ. Round top frames say they are for newer models only. The top is round framed, but I do not know if I can use frames for a different model...