It can be profitable on a long term but but most likely this will not happen because its just luck you need.
Luck is something you always need at gambling but mostly is not guaranteed of course.
The most people will also lose a lot of money on a long term, this is in most cases in my opinion.
Gambling on a long term and profitable is in my eyes not possible.
You just make a contradicting statement, gambling may not be profitable for you in the long run but it's possible to be profitable for some gamblers who are good enough, being profitable in the long run is not already done because of luck but because of skills and skills will give you consistent will which would give you profit in the long run.