I used a Masterwood for years that had a 14' X axis made up of joined rails. The joint was so tight that you almost couldn't see it. These rails carries several thousand pounds.
You can do it, but the joint should be precision ground, very, very accurately.

Having said that, I've also seen MDF machines using used Ebay rails butted together, with good results.