No, idioms are not considered collocations. Collocations are a group of words that frequently appear in the same context. Idioms, on the other hand, simply refer to an expression that acts as a single unit and whose meaning cannot be deduced from its individual components.