There even is a Neovim plugin which can open lazygit in a floating window. The active Neovim instance will be used for multiline commit messages.
I have it hooked up to the toggleterm plugin [0]. This way I can pop layzgit and other things (gdb, ipython etc) on a floating term