Alaikumassalam wa rahmatullah,
Liam in Arabic is the plural of Laeem, which is a non-Quranic word meaning "lowly", "ungenerous", "ungracious", and since it doesn't have a good meaning it is not used as a name. There is also Li'm, which comes from the same root, meaning "peace and harmony between people"., but it is pronounced differently from Liam.
Liham is a non-Quranic Arabic word that means "wise", "intelligent", "kind", it can only be used to describe males. It is pronounced [(LI)p] + [(HUM)ble] with emphasis on the second syllable. You could use this as a name since it doesn't have a bad meaning, and you can modify the spelling or pronunciation to make it more to your liking.