Right
家 supplies the sound (jiā → jià, just a tone shift) and rich semantic reinforcement: marrying is exactly the act of joining a
家 home. The two pieces together literally read woman entering a household.
家 itself pictures a pig under a roof, the old emblem of settled domestic life.