Yes โ with precise marking and reward timing
Dogs can learn to bark a set number of times (often two or three) before self-interrupting if you consistently mark and reward after that exact count. The dog learns the pattern and begins offering the limited bark-then-quiet sequence voluntarily.