Current going into the positive pole of a battery while discharging a capacitor
Yes, current will flow into the battery, and in a sense you are trying to charge the battery.

The possible danger is that the battery is not designed to be recharged, or that the value of \$R\$ is not high enough to limit the current to a safe level. In either case there is the possibility of damaging the battery, perhaps causing a fire.