There's the 12 3/4" and 14" flywheel diameter to deal with also. If the bad 3.0LX engine has a 14" flywheel, it won't work with older engines, not enough room in the bell housing.
For the OP, I would pull the old 3.0 to see how the flywheel, coupler and starter are configured, then compare it to the OMC 140. See if they have the same diameter flywheel, if the coupler will bolt up, starter. I think you'll be safe between the 3.0LX and OMC140 head being the same or close enough, but be aware that there have been 6-7 different heads used on GM 4cyl marine engines through out the years. Who knows what has been done to your 3.0LX or the OMC 140 over the years........