I do this sometimes, but only if my focus is not 100% there anyway and the tasks are easy.
So fixing simple bugs, or testing, or cleaning up code works on autopilot, but of course you never will enter deep flow work when half of your mind is distracted with something very different.