Yes very similar leaf shape, we have those here too and it's pretty easy to mistake the two if you don't know what to look for. The stems are a dead giveway though, with ramps having round red true stems and the lillies having flatter leaflike peudostems all the way down to the roots.
RE: Homemade Wild Ramp Pesto [Foraged and Delicious AF]