1. I made funny poses, imitating monkeys.

2. I made funny poses, to imitate monkeys.

3. I made funny poses to imitate monkeys.
=========================
Is #2 or #3 grammatical? What is the difference between #1 and #3?

All mean the same thing and are fine except for that comma in #2. It isn't needed.