I totally doubt Taiwan has any immediate military interest in the dam.
Of course if Taiwan were attacked by China, that would open up all sorts of military possibilities, HOWEVER THAT is not the situation today.
Absolutely, Taiwan preemptively attacking the PRC is beyond anything in my comprehension.