is it healthy to engage in these two activities excessively?
Anything that's done excessively is not good for the health. As long as you can't control it, then it should be stopped. Talk more of combining two things together: doomscrolling—you can easily get yourselfout of it if you see that it's affecting your mental state badly—and gambling. If you lose control, you will not only lose yourself and focus, but you will also lose money in the process. The best thing is just to choose an entertainment that's okay for you.