Yes, this い is the same as い as in だい or がい. From 明鏡国語辞典 第二版:
In modern Japanese, Definition ② (non-questioning sentence-end い, such as やめろい or 本当だい) is not common at all. If I understand it correctly, it's an old-fashioned, unsophisticated and shitamachi-like way of speaking, and you'll see it used mainly in manga/dramas set up in the early/middle Showa period (e.g., サザエさん, じゃりン子チエ). In fantasy works, you may hear it used by male speakers living in rural areas speaking in a curt manner, e.g., a dwarf blacksmith.
I believe it works with the imperative form of almost any verb (よく見ろい, さっさと寝ろい, 急げい, どけい, 行けい, はやくしろい, ...), but 来い is an exception. It sounds like you are urging someone.
い at the end of a question, such as 食べるかい or 調子はどうだい, is also rare in reality, but it's common among modern adult speakers in fiction. See: In what situation can I use ~かい (for interrogative question)?