No. It is not allowable in Ireland.
There is an argument to be that it would be deductible in circumstances where your share trading meets the criteria of carrying out a trade. The threshold is extremely high for a private individual, and I would hope anyone who does meet the criteria would have the sense to seek professional tax advice.
You asked this exact question on another thread in 2019, and got the correct answer then:
Can you offset interest on borrowings to purchase shares against dividends received?
www.askaboutmoney.com