can an organism be both consumer and prey?

1 answer

Sure. Why not?
Medium sized fish eat smaller fish and are consumed by larger fish.