Right
立 supplies the sound - lì drifting to lā through tone and vowel shift.
立 pictures a person standing firm on the ground; for
垃 it functions purely as a sound-marker carrying the reading. The character is essentially bound:
垃 by itself is almost never used - it lives inside the compound
垃圾, the everyday word for garbage.