It definitely has its roots in Debian, but when you need to use that weird closed source application for work, if it has a “supported” (for a given value of support) Linux distro it’ll be Ubuntu.
I personally prefer straight Debian myself, or something entirely different but when asked for a recommendation by friends it’s Ubuntu.
Given they don’t have any DRAM, you’re probably going to get better results with a GPU (or even the CPU) but in principle using the m.2 as an accelerator could be useful.