Yes, alliteration can be two and doesnt need to be in an entire sentence. Alliteration is when two words have the same initial sound. However, the writer must ensure that a rhyme is made and there is a purpose behind its use.