Yes. A simile is a figure of speech using "like" or "as" to compare two unlike things.
The word "as" functions as the comparative marker in similes.