Poe also was drinking off and on during these years.

-------------------------------------------------------------------------
Is "drinking off and on" grammatical? What other expressions can we use instead of this expression?

The idiom "off and on" means sometimes he did and sometimes he didn't — in other words, "now and then" or "periodically" or any other expression that indicates that he was drinking, but not 100% of the time.