Rinse and repeat as necessary.
Is there something in doctrine that allows a priest to refuse absolution if the sin is ongoing, and the one confessing apparently intends to repeat the sin indefinitely?
Your question is moot. If the sinner intends to do it again, the confession is meaningless. If the sinner is truly repentant, it is not for the confessor to second guess.
Besides, do you really think such a sinner is going to confess the same sin over and over TO THE SAME CONFESSOR?
Allows? No. Requires is the correct word.